Question

SFTP access, why does it not just work?

Posted May 21, 2017 1.7k views
Deployment

I’ve set up all keys etc yet all I get is the following error is FileZilla:

Command: keyfile “D:\path\to\sshkeys\privateemail_passphrase.ppk”
Command: open “root@138.197.105.183” 22
Error: Disconnected: No supported authentication methods available (server sent: publickey)
Error: Could not connect to server

Anyone have an in detail solution of how to connect? Apart from the DO one which I followed to the letter but doesn’t seem to work.

Many thanks

1 comment
  • make sure you make a proper SSH key, did you use puttygen ? Puttygen formats its keys differently so mostly it doesn’t work if you copy paste this inside your server.

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.

×
1 answer

Because the key used is not an authorized key for the root user.

Submit an Answer