Back
I've just generated my RSA key pair, and I wanted 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?
To access the ssh public key you can use
cat ~/.ssh/id_rsa.pub
Or
cat ~/.ssh/id_dsa.pub
To list the public keys you need to use:
$ ls ~/.ssh/*.pub
Thus, you can access the ssh public key.
31k questions
32.8k answers
501 comments
693 users