How to use the correct SSH private key?
- by Dail
I have a private key inside /home/myuser/.ssh/privateKey
I have a problem connecting to the ssh server, because i always get:
Permission denied (publickey).
I tried to debug the problem and i find that ssh is reading wrong file, take a look at the output:
[damiano@Damiano-PC .ssh]$ ssh -v root@vps1
OpenSSH_5.8p2, OpenSSL 1.0.0g-fips 18 Jan…