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 VestaCP.com 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 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.

  • Hi @Mohsen47

    Already made the changes after reading at serverfault.com

    Still, thank you for your help!

  • I know this is an old thread but isn’t changing PasswordAuthentication yes a security threat? Vesta already has its security foibles without adding this as an issue.

    Is there any other workaround where only public/private key are a thing and narrow the users in AllowUsers to disallow others?

    I realise the user is still in a chroot jail but still....best safe than sorry right?