I'm using FileZilla to connect to my SFTP server. But when I'm trying to connect, it gives me this error

Error: Disconnected: No supported authentication methods available (server sent: publickey)

I have generated a private key with PuTTYgen and added it to FileZilla but this error still appears.

What does this error mean? And how can I solve it?

share|improve this question

The error means that FileZilla tried all available authentication methods and have not succeeded. In your case, there was only public key authentication method available (a method that the client [FileZilla] and the server agreed on mutually).

As you claim that you have set up FileZilla correctly, chances are that you have not configured the public key on server-side.

For instructions see:

Though actually all the guides expect that you have a way to connect (e.g. password authentication). What does not seem to be the case. Possibly your server administrator/hosting provider has its own mechanism for setting up the public key authentication.

If you specify, what is your server like, you may get more specific answers.

share|improve this answer

I had the same problem and managed to solve the issue.

When using filezilla and sftp, it is important that you have full permissions for the folder where the ppk file is

Easiest way is to save the ppk file in the USER\your_user_name\Documents folder.You may need to set permissions manually for other locations.

share|improve this answer

In my case I found that the FileZilla configuration I had was using an outdated user name for password authentication.

share|improve this answer

I had similar issue error was Error: Disconnected: No supported authentication methods available (server sent: publickey)

Ans: Simply go to filezilla-Edit-settings-sftp-Add key file--add your ppk file-ok

connect again and issue resolved

share|improve this answer
2 
Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.– Pimp Juice ITOct 8 '17 at 14:46
   
The OP explicitly says "I have generated a private key with PuTTYgen and added it to FileZilla", so your post does not answer the question.– Martin PrikrylOct 9 '17 at 12:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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