How can I log into my droplet with Putty and password?

August 30, 2017 2.1k views
DigitalOcean Apache Configuration Management Getting Started Linux Basics CentOS

On compute at home I have created ssh key and droplet, it worked ok. Here at work I tried to login but I can't set new ssh key and Putty won't let me login since it doesn't even asks me for password (?)

I try to connect to IP address with Putty, it asks me for "login as", I type root and then it shows fatal error:

"Disconnected: No supported authentication methods available (server sent publickey, gssapi, gssapi-with-mic)

2 Answers

Connecting via SSH from Windows

First, download a copy of PuTTY. You just need putty.exe from that link, to start.

Next, enter root@[your ip address] in the "Host Name (or IP address)" field and hit the "Open" button.

Connecting via SSH from OS X or Linux

First, get to a terminal. On the Mac, look for the Terminal in your Applications folder. On Linux, run one of xterm, lxterm, Gnome Terminal, etc. In menus, these can usually be found under "Accessories".

Once you're at a prompt, just invoke SSH like so.
Copy Code

ssh root@

...replacing with your droplet's IP address.

Have another answer? Share your knowledge.