ssh-keygen

To generate SSH key, run

ssh-keygen -t ed25519

If you need RSA key, run

ssh-keygen -b 4096

To create an SSH key in the current folder, run

ssh-keygen -b 4096 -N "" -f NAME_OF_KEY

This will create 2 files in the current directory. The “-N” option is for keyphrase. With -N “”, it won’t ask you for kayphrase.

ssh-keygen

See Change SSH Key Passphrase

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *