I use the digitalocean server and the ssh key authentication. Of late my filezilla keeps giving me authentication error. The error message is Error: Disconnected: No supported authentication methods available (server sent: publickey) Error: Could not connect to server. I have verified my private key and the location it is present in. Everything seems OK. Also I don't have passphrase protection.

My verbose log:https://www.dropbox.com/s/fuw1pz9twqraz0x/Screenshot%20%2839%29.png?dl=0https://www.dropbox.com/s/jyktfj8rfo65lky/Screenshot%20%2840%29.png?dl=0

The logs stretch over the two links.

  • Show us complete FileZilla log file + Tell us how did you "verified your private key".– Martin PrikrylAug 18 '17 at 6:03
  • I'm assuming you've made certain your settings reflect SSH2 and that your server does in fact have your key in the authorized_keys file. The next thing you could do is check the username in the filezilla session manager's settings, otherwise, there must be a typo or bug somewhere. Assuming you're using openssh server and the latest stable release of Filezilla, I cannot reproduce your issue.– Dooley_labsAug 18 '17 at 6:12
  • @MartinPrikryl I verified my private key location and also checked for typos using a text editor. My complete log file is– Anurag BannurAug 18 '17 at 17:11
  • Status:Connecting to 139.59.78.96... Response:fzSftp started, protocol_version=8 Command:keyfile "C:\Codeprojs\Putty Keygen\nikiPro.ppk" Command:open "root@139.59.78.96" 22 Error:Disconnected: No supported authentication methods available (server sent: publickey) Error:Could not connect to server Status:Waiting to retry... Status:Connecting to 139.59.78.96... Response:fzSftp started, protocol_version=8 Command:keyfile "C:\Codeprojs\Putty Keygen\nikiPro.ppk" Command:open "root@139.59.78.96" 22– Anurag BannurAug 18 '17 at 17:13
  • Error:Disconnected: No supported authentication methods available (server sent: publickey) Error:Could not connect to server– Anurag BannurAug 18 '17 at 17:13

It has been fixed. I had an issue with the public and private keys. I had mismatched the two. They need to be used as a pair once generated.

    Your Answer

     
    discard

    By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

    Not the answer you're looking for? Browse other questions tagged or ask your own question.