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:
- https://winscp.net/eng/docs/guide_public_key or
- https://www.howtoforge.com/how-to-configure-ssh-keys-authentication-with-putty-and-linux-server-in-5-quick-steps and
- Disconnected: no supported authentication methods available
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.
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
Diff answer than 5 other answers here above (as of this moment)
I received this authentication error- No supported authentication methods available (server sent: publickey) repeatedly while connecting to my google cloud project and connecting thru FileZilla, even when I had spent hours checking my every step again and again by watching diff youtube videos and reading articles over Digital Ocean and similar.
But finally succeeded in a second, when I went into GCloud> Desired Project> Compute Engine> Metadata (in the left bar)> Metadata (in the main Pane)> and there I changed ‘ enable-oslogin’ from ‘True’ to ‘False’.
I had, sometime in my overzeal, had put in this key yesterday while doing something else.
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.
In my case I found that the FileZilla configuration I had was using an outdated user name for password authentication.
Filezilla SSH – cPanel Instructions
Set Filzilla to SSH/SFTP using the site manager.
Set to use authorisation by Key File
For me I had to go into cPanel and then create a key. REMEMBER your password you need it in a minute.
Then “authorize” my key.
Convert your key to PPK in cPanel. You need your password.
Download it & save it somewhere you remember.
Use the Browse option in Filezilla SFTP settings and then upload it.
Then I also had to change my “username” in Filezilla from id_rsa to my cPanel account name. After that things worked well.
As an additional note, instead of using my remote directory as /public_html/ which I would for FTP I had to change it to the full directory /home/YourCpanelUserName/public_html
Hope that that helps someone.
In one case I had MOVED my PPK into a sub folder which was the issue.