I ve just generated my RSA keypair and I want to add that key to Github.
I tried cd id_rsa.pub and id_rsa.pub but no luck. How can I access my SSH public key?
Sommaire |
I ve just generated my RSA keypair and I want to add that key to Github.
I tried cd id_rsa.pub and id_rsa.pub but no luck. How can I access my SSH public key?
cat ~/.ssh/id_rsa.pub or cat ~/.ssh/id_dsa.pub
You can list all the public keys you have by doing:
$ ls ~/.ssh/*.pub
License : cc by-sa 3.0
http://stackoverflow.com/questions/3828164/how-do-i-access-my-ssh-public-key