How do I connect to Cloud Hosting via SSH?

KB Tags associated with this article:
Use all tags
Body

Overview

SSH (Secured Shell) is a secure way to connect and administer Linux servers. With an SSH connection you can securely transfer files to your servers, monitor disk usage, setup a cronjob and perform many more operations.

In order to use SSH you need to follow the below steps :

  1. Enable SSH from your control panel
  2. Connect to the server with a username, password and an IP address

Enable SSH

Step 1: Log in to your control panel. Learn how

Step 2: Navigate to the Order View.

Search the domain name for which you have purchased the Cloud Hosting order and select the domain to view the order information.Cloud hosting search

Step 3: Enable SSH Access.

  • In the Order Information View, under the SHELL ACCESS section, click the toggle to enable SSH.shell-access

  • Click Enable Shell Access in the next window which appears.Enable SSH

Connect to the Server

  • Before you proceed with connecting to the server, you need to get the IP address, username and the password to connect via SSH. 
  • Under the MANAGE HOSTING SECTION, click View/Edit Admin Detailsview admin details
  • Note down the IP address, username, and the password. Admin Details

You can follow the steps below to connect via SSH depending on your operating system

Windows OS

  • Download an SSH client like WinSCP or PuTTY.

  • Enter your IP address and the port number 2222. putty

  • Log in with your cPanel username and password.

Linux OS

To connect to the server via SSH, run the following command from a terminal:

ssh -p 2222 [email protected]

Replace cpanelusr with your username; and replace ip.add.re.ss with your IP address.

Mac OS

To connect to the server via SSH, run the following command from a terminal:

ssh -p 2222 [email protected]

Replace cpanelusr with your username; and replace ip.add.re.ss with your IP address.