I can ssh to a server using my windows machine. There, I put the ssh key of my Linux machine (
~/.ssh/id_rsa.pub) into the
~/.ssh/authorized_keys file. However, I cannot ssh to the server using my Linux machine:
$ ssh email@example.com sign_and_send_pubkey: signing failed for RSA "/home/xyz/.ssh/id_rsa" from agent: agent refused operation firstname.lastname@example.org: Permission denied (publickey).
What could I be doing wrong?
I just applied
chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
which did not have an effect on the issue.