


Attempting to SSH from the command line gave the following error: sign_and_send_pubkey: signing failed: agent refused operation How the FileZilla SFTP Connection Error Occurred Further to this it was not possible to SSH into the server from the command line using the SSH key. The following paragraphs describes how the problem happened to me.Īfter moving from Linux Mint 18.3 to Linux Mint 19.1, this error occurred when trying to SFTP into a remote server. It also happens on newer versions of Ubuntu, but not on the latest Linux Mint Debian. Using the same login credentials and SSH key on any new Ubuntu based Linux distribution caused the login error. It was just a matter of changing file permissions of the key file found in ~/.ssh/ as follows: chmod 600 ~/.ssh/id_rsa In my case, the solution was very simple.Īfter switching back to Linux Mint 18.3, the problem disappears. This solution is from the following web page, but was not the answer that was accepted on the page. Look under “Simple Solution” further down the page.
