Webhosting Blog

SFTP : No supported authentication methods available


While accessing FTP with SFTP you might face following error

No supported authentication methods available.

Try to work with normal FTP and it might work fine but SFTP will not.

For this just check the file /var/log/secure on the server. You can find error message as

Mar 31 10:33:25 server sshd[15388]: Received disconnect from XX.XX.XX.XX: 14: No supported authentication methods available

The problem is faced due to PasswordAuthentication setting in /etc/ssh/sshd_config.

If the setting PasswordAuthentication is disabled in the SSH configuration file SFTP will not function. For this you can set PasswordAuthentication to on.

PasswordAuthentication on

Once you edit the file save and restart the sshd service using the command

root@server [~]# /etc/init.d/sshd restart

Now try to login the SFTP. It should sort your issue.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s