Found out, that ssh will relay that error if identity that shall be used is a link to actual file.
I have generated RSA keys using OpenSSL and stored them into ~/.ssh/id_rsa.pub.pem and ~/.ssh/id_rsa.key.pem
Then I converted ~/.ssh/id_rsa.pub.pem into OpenSSH format using ssh-keygen
Then I created a link: ln ~/.ssh/id_rsa.key.pem ~/.ssh/id_rsa
Then I edited /etc/ssh/ssh_config such that there was only one line IdentityFile ~/.ssh/id_rsa
Then I tried to log into remote machine - the result was: sign_and_send_pubkey: signing failed: agent refused operation
Maybe I am missing something and there is a configuration option that follows links?
Found out, that ssh will relay that error if identity that shall be used is a link to actual file. id_rsa. pub.pem and ~/.ssh/ id_rsa. key.pem id_rsa. pub.pem into OpenSSH format using ssh-keygen id_rsa. key.pem ~/.ssh/id_rsa send_pubkey: signing failed: agent refused operation
I have generated RSA keys using OpenSSL and stored them into ~/.ssh/
Then I converted ~/.ssh/
Then I created a link: ln ~/.ssh/
Then I edited /etc/ssh/ssh_config such that there was only one line IdentityFile ~/.ssh/id_rsa
Then I tried to log into remote machine - the result was: sign_and_
Maybe I am missing something and there is a configuration option that follows links?