I have created a user and I am able to ssh into it using my key in my msys2 terminal just fine. I have a copy of this key with a .ppk extension to allow for FileZilla to use it as well.

Is there some setting I’m missing in the sshd_config that would cause an SFTP client to fail to connect with FileZilla’s error “No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)”? This must have been a recent change as I have another droplet that is running an older version of Fedora and it allows sftp without an issue.

Thanks,
Jim

1 comment

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
2 answers

Hi @jimmio92,

How are you authenticating, is it with a password or an SSH key? By default, the DigitalOcean droplets come with passwordauthentication turned off.

You might be able SSH to your droplet because you are using an SSH KEY and not being able to use SFTP because you are using a password.

What I suggest is using your SSH key to use SFTP as well. Having said that if you are using a username different than root, you’ll need to add the SSH keys to this user’s directory.

Regards,
KFSys

Hello, @jimmio92

By default, SFTP uses the SSH protocol to authenticate and establish a secure connection. Because of this, the same authentication methods are available that are present in SSH.

You can use the root username and password in order to access your droplet using sFTP. If you’re unable to access the droplet using the ssh you can also reset your password.

I will recommend you to double check these article:

https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server

Hope that this helps!
Regards,
Alex

by Justin Ellingwood
SFTP is a secure way to transfer files between local and remote servers. Much more secure than FTP, this protocol uses an SSH tunnel to establish a connection and uses encryption to transfer files in an interactive session.