Cannot connect to FTP server (No supported authentication methods available (server sent: publickey))

Avatar forum:rustinpeace91 6 months, 2 weeks ago

I've been trying to upload some files on my website but I can't connect via FileZilla. Here is the error I am getting.

Status: Connecting to 45.33.95.49…

Response: fzSftp started, protocol_version=8

Command: open "webadmin@45.33.95.49" 22

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

Error: Could not connect to server

Status: Waiting to retry…

Status: Connecting to 45.33.95.49…

Response: fzSftp started, protocol_version=8

Command: open "webadmin@45.33.95.49" 22

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

Error: Could not connect to server

I have no trouble connecting to my server via the command line. I think this has to do with the fact that I introduced a new SSH key for a class I'm taking. I tried making a new SSH key pair but then that locked me out of my server on the command line. Luckily i backed the old ones up on my hard drive and put them back in the original place, so again: I can access my website via the command line with no issues, but I get this message when I try to access it via FTP.

I've already tried following this solution: it doesn't change anything

https://www.digitalocean.com/community/ … on-methods">https://www.digitalocean.com/community/questions/trying-to-login-to-filezilla-ftp-disconnected-no-supported-authentication-methods

2 Replies

Download pageant (if Windows) and import your private key into it. Then login to filezilla as normally. Filezilla will ask pageant to authenticate.

This is SFTP not FTP. Either use your SSH key as above or use real FTP (which you shouldn't, it's 2018)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct