Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (29.3k points)

I've just generated my RSA key pair, and I wanted to add that key to GitHub.

I tried cd and, but no luck. How can I access my SSH public key?

1 Answer

0 votes
by (50.2k points)

To access the ssh public key you can use 

cat ~/.ssh/ 


cat ~/.ssh/

To list the public keys you need to use:

$ ls ~/.ssh/*.pub

Thus, you can access the ssh public key.

Browse Categories