sign_and_send_pubkey: signing failed for RSA from agent: agent refused operation

sign_and_send_pubkey: signing failed for RSA from agent: agent refused operation

This is a problem which bugs the Internet. Many solutions were suggested. All of them work sometimes (like making sure that the permissions on the private/public SSH key files are correct). One solution which never gets mentioned is about DNS. When attempting login to a remote server, the server attempts to resolve the connecting address…