Error: ssh: sign_and_send_pubkey: signing failed: agent refused operation

ssh: sign_and_send_pubkey: signing failed: agent refused operation

It might caused by the permissions of the ssh key being too open. The following command might fix the problem.

#chmod 600 ~/.ssh/id_rsa

Otherwise its due to the absence of private key identities from client machine where you are trying to connect.

This can be solved by adding the private key identities to the client using the below given command.

#ssh-add

Now we can connect to remote servers through ssh without any issues.

That's all…

Leave a Reply

Your email address will not be published. Required fields are marked *