
This solution is from the following web page, but was not the answer that was accepted on the page.

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. After switching back to Linux Mint 18.3, the problem disappears. Using the same login credentials and SSH key on any new Ubuntu based Linux distribution caused the login error. It also happens on newer versions of Ubuntu, but not on the latest Linux Mint Debian.

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. 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. SSH was set up in FileZilla using the following tutorial: Īfter changing Linux distribution versions (on the client side, not the server), FileZilla would no longer connect, but displayed the error messages instead. FileZilla SFTP Connection Error MessagesĪs can be seen in the image, two messages that appear are:Įrror: Pageant failed to answer challengeĮrror: Could not connect to server SSH Setup The image below shows the two messages that appear in FileZilla when trying to SFTP into a remote server. Report bugs only if you are using the latest version available from the FileZilla website.įileZilla is distributed under the terms of the GNU General Public License version 2 or later.Error: Pageant failed to answer challenge Message in FileZilla May not be used together withĮnvironment variable can be used to specify the directory containing FileZilla's data files. If -l isn't given, the normal logontype is used. Set a special logontype, can only be used in combination with a FTP URL as argument. Site path may not contain double quotation marks.Įxample: filezilla -c 0/foo/bar/sl\/ash connects to the user site sl/ash in the site directory foo/barĭisplays a help dialog listing these commandline options. Path has to be prefixed with 0 for user defined entries or 1 for default entries. Any slash or backslash that is part of a segment has to be escaped with a backslash. Site has to be given as complete path, with a slash as separation character.

Connect to the given site from the Site Manager.
