Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Zander's avatar

Connecting to DigitalOcean droplet (managed via Forge) on Windows with Putty

How do I ssh into my server on windows?

0 likes
9 replies
juandmegon's avatar

Just go to your DigitalOcean account or Forge and copy the IP address of your droplet.

Download putty for windows here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Then the host is your droplet IP, the port is 22.

In the left side go to SSH and choose 2 only.

Thats all, should work.

After that just enter your username and password (created by forge or your own).

Zander's avatar

Thanks for the quick reply!

Unfortunately, when I do that, I get this error: "Disconnected: No supported authentication methods available (server sent: publickey)"

Any advice?

Zander's avatar

I tried that tutorial yesterday, and then again just now, and after inputting the username I get an error that says "server refused our key". I am at a loss.

juandmegon's avatar

Sorry Zander, possibly we are missing something here, maybe it is due to a configuration made during the droplet configuration on Forge, may you want to contact the DigitalOcean support or forge (if they have).

Best wishes on it.

cklmercer's avatar

Assuming you have an SSH key pair, you need to assign your public key to your droplet from within Forge. After that, you should be able to connect via ssh using your private key.

1 like
Hondaman900's avatar

I keep getting "Disconnected: No supported authentication methods available (server sent: publickey)" whether I put in my droplet IP or forge@IP. What am I missing?

Please or to participate in this conversation.