HostArmada Web Hosting Knowledge Base

Knowledge is power! Use that power and achieve total and unconditional control over the Web Hosting Services!

How to use password authentication to establish an SSH connection.

ATTENTION! In the following lines of this article, we will give you a general understanding of how to use the SSH protocol to connect to a remote server. Please note that this article does not provide information on how to connect to the SSH service of your web hosting account with us. If you are looking for that information please check our "How can I connect via SSH on HostArmada?" article. 

What is SSH?

SSH(Secure Shell) is a protocol providing you with secure command-line access to your HostArmada account. While using SSH, you can log in to your hosting account and run commands remotely, the same way you would typically execute commands if you are connected to the server directly.

In this article, we are going to discuss how you can connect to the server remotely using the SSH protocol, depending on your Operating System.

Windows 10

When Windows 10 first launched you had to use an SSH client to connect, however, back in 2018, a native SSH client got integrated for windows 10 allowing users to connect using this local program.

To access it, please follow the steps shown below:

  1. Please open the Run popup window by pressing the Windows key + r.
  2. When the Run popup window appears, please type in "cmd" and then click OK to open the command-line window. 
  3. As soon as the command-line interface appears, please type in the following command, however, replace the user with your HostAramda user and hostname with your server's hostname.

    ssh -p 19199 [email protected]
  4. The first time you connect to the server, you are going to receive a message about the key fingerprint. Please type "yes" and then press the ENTER button.
  5. You are going to need to type your password next. When done, please press the ENTER button to connect to the server. 
  6. If the connection was successful, you are going to see the following command line output:

    [user@hostname ~]$ 
  7. Now that you have successfully connected, you can begin executing Linux commands. 
  8. To close the SSH connection, please type "exit" or press Ctrl + a + d in quick succession.

Older Windows Versions

Unlike Linux and Windows 10, the older version of Microsoft Windows does not include an SSH client natively; thus, you need to use an SSH client. We recommend PuTTy as it is intuitive and user-friendly.

To connect to your hosting account, please do the following:

  1. Start PuTTy by double-clicking on the PuTTy icon.
  2. A small window is going to appear after opening the PuTTy client. Inside the "Host Name (or IP address)" text field, please type in your server's hostname or IP address and inside the "Port" text field type in the server port 22.
  3. The connection type is going to default to "SSH" so leave it as such. 
  4. Please press the "Open" button located at the bottom right side of the screen to open the command-line interface. 
  5. A security alert is going to show up when you log in the first time - please click "Yes". 
  6. Please type in your hosting account's username and press the "ENTER" button. 
  7. Lastly, please type in your password and then press the "ENTER" button again. 
  8. If the credentials are correct, you are going to connect to the server, and you are going to see the following prompt:

    [user@hostname ~]$ 
  9. Now that you have successfully connected, you can begin executing Linux commands.
  10. To close the SSH connection, please type "exit" or press Ctrl + a + d in quick succession.

Linux and macOS

By far, these are the easiest way of connecting to your account over SSH as they natively have an SSH client, and there is no need for one. To connect from your Linux or macOS environment, please use these steps:

  1. Please open a terminal window. This process varies based on your operating system.
  2. When the command-line interface opens, please type in the following line while replacing the user with your HostArmada cPanel user and hostname with your HostAramada hostname.

    ssh -p 19199 user@hostname 
  3. You are required to enter your password, and upon doing so, you are going to connect to the server. If this was successful, you are going to see the following output:

    [user@hostname ~]$ 
  4. Now that you have successfully connected, you can begin executing Linux commands.
  5. To close the SSH connection, please type "exit" or press Ctrl + a + d in quick succession.

Was this article useful and on point?

Find out more about HostArmada entire range of optimized Web Hosting Services and take action today on improving your website Loading Speed, Security, and overall Stability!