How to Connect by SSH to the Server (Shell Access)

SSH: Introduction and definition

SSH, an acronym for Secure SHell, is a network protocol that allows access to a command line interpreter on a server. By using software based on this protocol, it is possible to establish an encrypted, therefore secure, connection between a client computer (yours) and the server.

For security reasons, Shell (SSH) access is blocked by default on shared hosting accounts. To activate SSH access for your account, please submit a support ticket to request it from our team.
You can normally log in to SSH on your web hosting, reseller hosting, or WordPress hosting account using your cPanel username/password. For Cloud/Dedi servers, you can also log in using root as your username, and your root password, as communicated in your service's welcome email.

SSH Software

If you use Windows, you must download and install an application such as PuTTY (free software) on your computer before connecting to the server. You will find PuTTY at the following link:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

In Linux, the ssh application is usually installed by default (consult your Linux manual if that is not the case).

Apple (MAC OS X)

SSH is available using Terminal in the Utilities section of your Applications folder. Once open, log in by using (replace the user, host and port with the correct values):
ssh username@hostname -p27 (example: ssh username@173.52.128.66 -p27)

Ubuntu (Linux)

SSH is available using Terminal , under Applications > AccessoriesOnce open, log in by using (replace the user, host and port with the correct values):
ssh username@hostname -p27 (example: ssh monsite@173.52.128.66 -p27) 

Some notes for Ubuntu users:

  • If SSH is not already installed on your workstation, you can install by clicking:  apt://ssh
  • For security reasons, asterisks or symbols will not be displayed as you enter your password.

PuTTY configuration

Once PuTTY is installed:

  1. Start PuTTY.
  2. In the Host Name field, type your domain name (example: yourdomain.com) or the IP address of your account (example: 111.222.33.44). Tip: you can also include your username directly in this field, by using the following syntax: username@hostname, where username = your cPanel user name and hostname = your domain name (example: yourdomain.com).
  3. Specify port 27 (for shared hosting accounts) or the port that was specified to you for a dedicated server (usually port 2243).
  4. Choose the SSH protocol.
  5. Click on Open.
  6. You will receive a notice asking you to confirm your intention to connect to the server; please accept the connection.
  7. The server will ask you for your user name and then for your password (or just for your password if you used the tip specified in step 2). You will have to use the same user name and password that you use for the cPanel.
  8. If SSH access has been activated on your account, you should then be connected to the server via SSH. Otherwise, please contact our support team with details about the issue.

For more information regarding the command line interpreter, consult the How to Use the Command Line Interface article in this section.

 

Article ID: #HC5072

Was this answer helpful?