SFTP : No supported authentication methods available

While accessing FTP with SFTP,we get the following error:

[wpfmb type=’error’ theme=2]No supported authentication methods available.[/wpfmb]

If 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,We find error message as:

[wpfmb type=’error’ theme=2]Received disconnect from XX.XX.XX.XX: 14: No supported authentication methods available[/wpfmb]

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

If the setting Password Authentication 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:

/etc/init.d/sshd restart

Now try to login the SFTP again.

Leave a Reply

Register to Get FREE Offers

Why Pay for Software when you can GET it for FREE

JOIN US TONIGHT!