Search Our Database

How To SSH Into Your Cloud Server

Last updated on |
by

Introduction

In this tutorial, we will guide you through the most important step for accessing your cloud server. Since your hosting plan is unmanaged, the only way to access your server is via SSH (Secure Shell). SSH provides a secure way to manage and interact with your server remotely.

 

Using Windows Platform

To connect to your server via SSH on a Windows platform, you’ll need to use an SSH client like PuTTY. Follow the steps below:

 

Step 1: Download and Install PuTTY

  • Download PuTTY from here
  • Install the program on your Windows computer.

Step 2: Run PuTTY

Once installed, launch the PuTTY application. You will see an interface similar to the one below:

 

Step 3: Enter Your Server’s IP Address

  1. In the “Host Name (or IP address)” field, enter your server’s IP address.
  2. The default port number is “22” and the connection type should be set to SSH.

 

Step 4: Load Your Server Keypair

  1. On the left sidebar, expand the SSH option.
  2. Click on Auth (short for Authentication).
  3. Browse and select your server keypair file (e.g., server.ppk).

 

Step 5: Open the SSH Connection

  1. Click the Open button.
  2. A command prompt window will pop up, prompting you to log in with your server’s username and password.

Step 6: Login to Your Server

  1. Enter your username and password when prompted.
  2. If the credentials are correct, you will successfully log in to your cloud server.

 

Using Linux/Mac Platform

For Linux or Mac platforms, you can use the built-in terminal to access your server via SSH. Follow these steps:

 

Step 1: Open Your Terminal

Run your terminal program and enter the following command to access your server:

ssh Ip-Address-Here -lLogin-UserName -pPort-Number

Replace the placeholders with your actual server details:

  • IP-Address-Here: The IP address of your server.
  • Login-UserName: The username used to access your server (e.g., root for CentOS). For Ubuntu equipped server, you will need a username and password. (e.g. -ljohnnytan , -ldavidyong)
  • Port-Number: The SSH port number. Default is 22, If your SSH port number is different than the default port number, include the syntax -pPort-number. (e.g. -p9321, -p1234).

 

Step 2: Confirm Connection

If it’s your first time connecting to the server, you’ll see a message like this:

Type yes to add the server to your known_hosts file.

 

Step 3: Enter the Password

After confirming, you’ll be prompted to enter the server’s password. Once authenticated, you will successfully gain access to your cloud server.

 

 

Conclusion

By following these steps, you can easily access your cloud server through SSH, whether you’re using a Windows, Linux, or Mac platform. SSH is the primary method for managing an unmanaged hosting plan, ensuring a secure and encrypted connection.

 

 

Article posted on 23 April 2020 by Louis Kubota