VestaCP SFTP Authentication Error

July 28, 2017 2.3k views
Networking Development CentOS

I'm trying to login and upload a file as another user of a domain created in VestaCP where I have SSH key in placed.

Error: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
Error: Could not connect to server

I got that error from Cyberduck whenever I try to login with a password. I can only login via SSH and SFTP if I use the private key, any other users and password doesn't work. Almost the same if I use Filezilla. This is a custom install from without Mail and Firewall support. I'm using DOs Cloud Firewall service and allowed all incoming that VestaCP requires.

Is there a configuration with SSH config file that I should change to allow login from other users aside from admin and accept passwords as well?

Update: The account package in VestaCP have SSH Access set to bash. Hope this helps.

1 comment
  • FTP works on this but SFTP still throws the same error even if I already set the account package SSH Access to Bash. This previously works on my other Droplet with the same installation but without SSH key authentication.

1 Answer
Mohsen47 July 28, 2017
Accepted Answer


Edit your openssh server configuration file located at /etc/ssh/sshd_config and add this option

PasswordAuthentication yes

then restart ssh service with service ssh restart

Hope this helps.

Have another answer? Share your knowledge.