SFTP access, why does it not just work?

May 21, 2017 388 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.

1 Answer
Woet May 21, 2017
Accepted Answer

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

Have another answer? Share your knowledge.