Search our database

How to login to your Linux instance

Access your cloud server via PuTTY client

Prerequisite: 

  1. Have PuTTY installed. You can download and install PuTTY from here.
  2. Obtain and convert your private key file to .ppk format. You may refer to the tutorial here if you have not done so.

Step 1: Start 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 user_name@public_dns_name.

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, root@103.57.189.243).

 

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 continue connecting.

Note: This alert will only appear on first connection.

 

Step 13: Login as user “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 using PuTTY client. If your instance is Windows-based, follow the Remote Desktop Connection tutorial here.