SSH to an instance from Windows
Last updated
Last updated
You can use the PuTTY program as an SSH client to connect to your machine.
This page gives you basic information about using PuTTY and PuTTYgen to log in to your provisioned machine. For more information on PuTTY, see the official PuTTY documentation.
If you are using Windows and you want to connect to your machine using a more Unix-like approach, you may want to consider Cygwin instead.
This topic shows you how to log in to your machine as the root user using the Windows program PuTTY.
When you provision a machine, the Machine Details page will display two different IP addresses: a public IP address and a private IP address. Take note of these IP addresses as you will use the public IP to connect to your machine.
To log in to your machine, follow these instructions:
Open the PuTTY program.
Type the public IP address of your provisioned machine in the Host Name (or IP address) field.
In the Category panel on the left, expand the SSH section to expose the Auth settings.
Click Auth to display the Options controlling SSH authentication panel.
Click Browse and select the private key file you created. This is the private key you saved when you [manually generating your SSH key in Windows](Manually Generating Your SSH Key in Windows.html).
Click Open to open a PuTTY terminal session.
The first time you connect to your machine, you may see a PuTTY Security Alert warning you that the host's key is not cached in the the registry. This is normal because PuTTY has never seen this machine before. Go ahead and click Yes.
At the login as:
prompt, type "root" and press ENTER.
Note: For Ubuntu based instances, the default username is "ubuntu".
Type the passphrase you chose for this key and press ENTER.
You are now logged into your machine.
Once you are connected to a machine, you can start setting up your application.