How to find Private Key Location

Files and folders starting with a period (.ssh) are hidden by default. To find private/public key, run this commands:

ls -a
In your case, run this commands to find the ssh keys:

cd ~/.ssh
then:

ls -a
Now you should see the keys like this:

.       ..      id_rsa      id_rsa.pub
If the keys are not there then definitely you need to create the key by ssh-keygen command.

Comments