How to Connect to your Droplet with PuTTY on Windows

PuTTY is an open-source SSH and Telnet client for Windows. It allows you to securely connect to remote servers from a local Windows computer.

If you don’t have PuTTY installed, visit the Download PuTTY site and choose the Windows installer from the Package files list. Once PuTTY is installed, start the program.

Configuring PuTTY

On the PuTTY Configuration screen that opens, fill in the field labeled Host Name (or IP Address) with your Droplet’s IP address, which you can find on your dashboard. Confirm that the Port is set to 22 and that the Connection type SSH is selected.

PuTTY Configuration Screen with above values filled in

Next, click on SSH in the left sidebar (under Connection). Make sure “2 only” is selected for Preferred SSH protocol version.

If you want to created an SSH key pair, you can add them in the Auth subcategory. In the Private key file for authentication section, click the Browse button.

PuTTY private key

Search for the private key file that you saved. This is the key that ends in .ppk. Find it and select “Open” in the file window.

Next, in the Connection subheading in the Data configuration section, enter your server’s username in the Auto-login username field. For the initial setup, this should be the root user, which is the administrative user of your server. If you’re using CoreOS, Rancher, or FreeBSD, the username will be core, rancher, or freebsd instead of root, respectively.

PuTTY username

Finally, you can save these preferences to avoid typing them manually in the future. Click on Session in the left sidebar, then add a name in the text box under Saved Sessions and click Save on the right.

You now have saved all of the configuration data needed to connect to your new server.

Connecting with PuTTY

Once you have a session saved, you can recall these values at any time by returning to the Session screen, selecting the session you would like to use in the Saved Sessions section, and clicking Load to recall the settings. This will auto-fill all of the fields with the values you initially selected.

Before you connect to a server for the first time, PuTTY will ask you to confirm that you trust the server. Choose Yes to save the server identity in PuTTY’s cache or No to connect without saving the identity.

PuTTY Configuration Screen with above values filled in

After PuTTY starts, type in the root password that was emailed to you. If you uploaded SSH keys, you will either be connected directly or prompted for the password you set on your key.

When you have successfully authenticated, you will be connected to your new Droplet.