.ssh
directory and listing the contents.id_rsa.pub
, you already have a key pair and don't need to create a new one.id_rsa.pub
, use the following command to generate a new key pair. Make sure to replace [email protected]
with your own email address.-o
option was added in 2014; if this command fails for you, just remove the -o
and try again)cat
: