Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Cannot login to SSH - Authentication failed due to incorrect username

It's probably not due to the username.
The server seems to require a public key authentication.
Did you specify your private key?
https://winscp.net/eng/docs/guide_digitalocean
astrotastic

Cannot login to SSH - Authentication failed due to incorrect username

I am attempting to log onto my DigitalOcean droplet SSH but consistently get the error:

No supported authentication methods available (server sent: publickey)
Authentication log (see session log for details):
Using username "root".

Authentication failed.


I get this error when I enter username "root". I have tried just about every username I think it could be (root, the username for my machine, etc) but I am getting no clear answers online what it should be besides root - as I understand it, this should work. I have no idea what I'm doing wrong. I entered my public key into my Droplet just fine. I'm a noob so this is all a little overwhelming! Any help is appreciated.

Running Windows 10, WinSCP version 5.17.6, trying to connect to a machine running Manjaro.