Step 1: Installing PuTTY
Download and install PuTTY from the PuTTY download page
. If you already have an older version of PuTTY installed, we recommend that you download the latest version. Be sure to install the entire suite. (You can use the stand alone executable as well.)
Step 2: Setting up the connection
Start PuTTY (from the Start menu, choose All Programs > PuTTY > PuTTY).
In the Category pane, select Session and complete the following fields:
- In the Host Name box, enter user_name@public_dns_name. Be sure to specify the appropriate user name for your AMI. For example:
- For an Amazon Linux AMI, the user name is ec2-user.
- For a RHEL AMI, the user name is ec2-user or root.
- For an Ubuntu AMI, the user name is ubuntu or root.
- For a Centos AMI, the user name is centos.
- For a Fedora AMI, the user name is ec2-user.
- For SUSE, the user name is ec2-user or root.
- Otherwise, if ec2-user and root don’t work, check with the AMI provider.
- Under Connection type, select SSH.
- Ensure that Port is 22.
- In the Category pane, expand Connection, expand SSH, and then select Auth. Complete the following:
- Choose Browse.
- Select the .ppk file that matches the instance you are connecting to, and then choose Open.
- (Optional) If you plan to start this session again later, you can save the session information for future use. Select Session in the Category tree, enter a name for the session in Saved Sessions, and then choose Save.
- Choose Open to start the PuTTY session.
- If this is the first time you have connected to this instance, PuTTY displays a security alert dialog box that asks whether you trust the host you are connecting to.
- Choose Yes.