Sometime while accessing server via SFTP it gives error and normal FTP connect well.
in such cases if you check secure logs :
Quote:
[root@server]# tail -f /var/log/secure
July 02 10:33:25 server sshd[15388]: Received disconnect from XX.XX.XX.XX: 14: No supported authentication methods available
|
This issue is occurs cause, PasswordAuthentication is disabled in the SSH configuration
Quote:
|
PasswordAuthentication on
|
Enabled it and make it "on"
Once it done, restart the sshd service.
root@server [~]# /etc/init.d/sshd restart
Now try to connect to your server with SFTP, it should resolved your issue
Done..