Accessing an instance with PuTTY

Prerequisite

Convert the private key to PuTTY format

1. Use PuTTYgen to convert your private key into PuTTY format.

2. A PuTTYgen window opens where you can configure your key-generation settings.

3. Click Generate and follow the on-screen instructions to generate a new key.

4. For most cases, the default parameters are fine, but you must generate keys with at least 2048 bits.

5. When you are done generating the key, the tool displays your public key value.

6. In the Key comment section, replace the existing text with the username of the user for whom you will apply the key.

7. Optionally, you can enter a Key passphrase to protect your key.

8. Click Save private key to write your private key to a file with a .ppk extension.

9. Click Save public key to write your public key to a file for later use.

10. Keep the PuTTYgen window open for now.

Import SSH Key pair to your instances

Connect to the instance

1. In the Host Name box, enter shell@{instance_ip} where {instance_ip} is your instance public IP.

2. Under Connection type, select SSH.

3. Ensure that Port is 22.

4. In the Category pane, expand Connection, expand SSH, and then choose Auth.

5. Click Browse.

6. Select the .ppk file that you generated for your key pair with PuTTYgen.

7. (Optional) If you plan to start this session again later, you can save the session information for future use. Choose Session in the Category tree, enter a name for the session in Saved Sessions, and then choose Save.

8. Click 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.

9. Click Yes. A window opens and you are connected to your instance.