Thorn Tech Marketing Ad
Skip to main content
Version: 1.1.0

SSH into StorageLink

Overview

When you transfer files to the cloud, you may need to SSH into your VM at some point for troubleshooting, server management or any other configuration that needs to be done on the server.

Connect via Terminal

You can use the following command to SSH into the EC2 instance from the terminal:

ssh -i private.key ec2-user@<ip-address>

Note: You will be prompted to accept the server host key on first connection. The server host key is cached on your client machine, based the hostname and port.

PuTTY (Windows)

You can download PuTTY here.

If you created an EC2 Key Pair in .ppk format, you can use this directly in PuTTY.

Otherwise, if your EC2 Key Pair is in .pem format, you need to use PuTTYgen to convert it to .ppk format. PuTTY only supports the PPK (PuTTY Private Key) format.

putty1-half.jpg

  1. Open PuTTYgen and click Load to browse for your .pem key. When browsing for the key, be sure to select All Files in the dropdown menu to show all file types. Click Open when you have selected your private key.
  2. PuTTYgen will now convert your key to the proper filetype.
  3. To export your new PPK key, click Save private key.

You are now ready to SSH in to the server with PuTTY using the new .ppk key.

putty2-half.jpg

  1. Open PuTTY and select SSH as the connection type.
  2. In the Host Name field, enter ec2-user@<public ip>
  3. Expand the SSH section on the left, then expand Auth and click on Credentials.
  4. Click on Browse to select your .ppk key, and click Open when you have selected it.
  5. To launch the SSH session, click Open.