This tutorial will guide you through on how to access your Linux Instance via SSH client and your private key.
- Downloaded the private key when you launch your first Instance. Note: If you used your own key-pair during Instance creation, please use the same private key for this tutorial.
- (Optional) Have PuTTY installed. You can download and install PuTTY from here. Note: You can use any SSH client as you like. We will be using PuTTY for our tutorial.
- (Optional) Convert your private key file to .ppk format. You may refer to the tutorial here if you have not done so. Note: You only need to convert your private key to .ppk format if you are using PuTTY.
Step 1: Open PuTTY (from the Start menu, choose All Programs > PuTTY > PuTTY).
Step 2: In the Category pane, select Session and in the Host Name box, enter
Note: You may need to specify the appropriate user name for the connection. You can also use an IP address instead of host name (for example, email@example.com).
Step 3: Under Port , make sure the connection port is 22.
Note: Port 22 is the default port for SSH connection.
Step 4: For the Connection type options, choose SSH.
Step 5: Under the Connection settings, expand the SSH tab by clicking on the “+“.
Step 6: Under the expanded the SSH tab, select Auth.
Step 7: Under the Private key file for authentication, Browse for your .ppk private key file.
Step 8: Browse to the location where you keep your key file, select the .ppk and Open.
Step 9: In the Category pane, go back to the Session tab.
Step 10: In the box under the Saved Sessions, enter a name for this connection and Save.
Note: You only need to save the settings once. On subsequent login, skip this step.
Step 11: Click Open to establish a SSH connection to your remote server.
Note: On subsequent logins, you can Load the settings from the Saved Sessions before you click Open.
Step 12: Choose Yes for the security alert to acknowledge the warning.
Note: This alert will only appear during your first connection.
Step 13: Login as default user.
CentOS : centos
Note: Your login is authenticated with key-pair, no password is required.
Step 14: In order to make changes to the system, you need to gain root privilege by switching to the root user. In the terminal, type “sudo su –“.
You are now connected to your Linux instance with root access. If your instance is Windows-based, follow the Remote Desktop Connection tutorial here.