How to connect to your server via Secure Shell (SSH)

Secure Shell (SSH) is a commonly used protocol to gain remote access through a command line interface. Administrators with advanced knowledge may use SSH to log in to a web server and perform tasks such as file and folder transfers, disk usage reviews and performance monitoring, using commands such as top).

The benefit of using SSH over other methods of remote access is that, as the name suggests, communications are securely encrypted, protecting the traffic flowing to and from the server. Data is encrypted at both end of the client/server connection using a digital security certificate and access credentials are also protected.

Connect to your server using SSH

You can use SSH to connect to your server from Windows, Mac OS and Linux computers using command line clients. Mac OS and Linux have integrated SSH support in Terminal – you can simply open a Terminal window and get started.

The Windows Command Prompt application, however, does not support SSH by default. We recommend downloading a third-party application such as PuTTY, which includes SSH support.

Find your SSH access credentials

Your SSH hostname, username and password were sent to you by email when you first signed up for your HostPapa VPS service. You’ll find them in your “Welcome to the HostPapa Family” email.

Welcome email

Log in to your server via SSH

Open your command line client on a local computer and use the following instructions to connect to your server.

Windows

Open PuTTY and enter your server’s hostname, or the IP address listed in your welcome email, in the HostName (or IP address) field.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ensure the radio button next to SSH is selected in Connection Type, then click Open to proceed.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

You’ll be asked if you wish to trust this host. Select Yes to continue.

Trust dialog

In the command line window that opens, you’ll see the prompt login as:

Login prompt

Enter your username, which for most admins, should be root.

Enter username

Now enter your password, to complete the connection process.

Enter password

Mac OS/Linux

Enter the following command in your Terminal window, changing [username] and [hostname] to those listed in your welcome email. For most administrator sessions, the username will be root:

ssh [username]@[hostname]

ssh command

You’ll be asked if you wish to continue connecting. Enter yes and press return.

Confirm connection

You will now be prompted for your password.

Enter password

Enter your password to connect to the server.

Logged in

For further questions, or if you need help, please open a support ticket from your HostPapa Dashboard. Follow this link to learn how.

Was this article helpful?

  • Was this article helpful ?

  • yes   no

Related Articles

Leave A Comment?