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 acce
cd id_rsa.pub
id_rsa.pub
If you only have your private key available, you can generate the public key from it:
ssh-keygen -y
or
ssh-keygen -y -f path/to/private_key