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:
  1. In the Host Name box, enter user_name@public_dns_name. Be sure to specify the appropriate user name for your AMI. For example:
    1. For an Amazon Linux AMI, the user name is ec2-user.
    2. For a RHEL AMI, the user name is ec2-user or root.
    3. For an Ubuntu AMI, the user name is ubuntu or root.
    4. For a Centos AMI, the user name is centos.
    5. For a Fedora AMI, the user name is ec2-user.
    6. For SUSE, the user name is ec2-user or root.
    7. Otherwise, if ec2-user and root don’t work, check with the AMI provider.
  2. Under Connection type, select SSH.
  3. Ensure that Port is 22.
  4. In the Category pane, expand Connection, expand SSH, and then select Auth. Complete the following:
    1. Choose Browse.
    2. Select the .ppk file that matches the instance you are connecting to, and then choose Open.
    3. (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.
    4. Choose Open to start the PuTTY session.
    5. 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.
    6. Choose Yes.

Start typing and press Enter to search