filezilla error Pageant failed to answer challenge

Anyone tell me why I getting this error, when I trying to connect my sftp through filezilla.

Response:   fzSftp started
Command:    keyfile "/home/supravat/.ssh/pub_key"
Command:    open "[email protected]" 22
*Error: Pageant failed to answer challenge*
*Error: Could not connect to server*

How to solve this error?


This happened to me. What I did to fix it was:

echo $SSH_AUTH_SOCK

to find out what the path is. This will return something like /home/user/.cache/keyring-XXXXXX/ssh or /run/user/1000/keyring/ssh. Then just rename the file:

mv "$SSH_AUTH_SOCK" "$SSH_AUTH_SOCKrem"

I was able to login after that.


In my case key was in .ppk format so I had to install putty:

apt-get install putty

I have also installed putty-tools:

apt-get install putty-tools

And from now, everything has worked as expected in filezilla.