ssh-keygen
SafeGenerate SSH keys
ssh-keygen -t ed25519
Creates a key pair (ed25519 recommended). Install the .pub into the remote authorized_keys.
Examples
ssh-keygen -t ed25519 -C '[email protected]'Create an ed25519 keyssh-copy-id user@hostInstall key on remote
Syntax
ssh-keygen [-t type] [-f file] [-C comment]
Before you run it
Guard the private key; avoid overwriting.
Used when you see
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store