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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
cat ~/.ssh/id_rsa.puborcat ~/.ssh/id_dsa.pubYou can list all the public keys you have by doing:
$ ls ~/.ssh/*.pub