
It is required that your private key files are NOT accessible by others.Ĭhanging the file permission as described above solved the problem in FileZilla and for using SSH from a terminal window. The following message is displayed that describes why this problem is occurring: WARNING: UNPROTECTED PRIVATE KEY FILE! 0777 for '/home/user/.ssh/id_rsa' are too open. If the following command is entered in the terminal window before changing the file permissions: ssh-add Look under “Simple Solution” further down the page. 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 2 and now I opened some sites and ftp users, I try connect to FTP, and Filezilla says: Response: 530 Login authentication failed I check on phpmyadmin. 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. We don't like to pay for non-working tech.Error: Pageant failed to answer challenge Message in FileZilla We're all waiting, paying money for something that isn't working at all. This "help" article is akin to, "You figure it out yourself".

Yes, passwords have been checked a million times and I can login directly to Plesk with the password that fails on SFTP. I have already setup the user account exactly as shown here and still continue to get the "Could not connect to server" error. Using Plesk I am unable to do so after 2 hours of research. Using command line only on my other Ubuntu server without Plesk installed I am able to correctly configure the server to use individual key files /home/user/.ssh in about 1 minute for each user. Plesk does not create a /home/user directory, so I can't put the key files for users in their own folder. I'm trying to setup individual user key files.
