InMotion Hosting Support Center

In this tutorial:

In this tutorial, we will show you how to connect to your server via SSH. This will allow you to interface with your server via Command Line Interface (CLI). First, we will show you how to add your IP address to the firewall to allow you to access your dedicated server. Then we will show you how to connect with both PuTTY, and Terminal.

If you need a custom server solution for administering your server, then select a Managed Hosting package from InMotion Hosting. It will help save you time and make you an efficient host for your client needs.

1. Add your IP to the firewall

  1. Look up your IP address. Write it down so you have it for later use.
  2. Login to WHM.
  3. Type firewall in the search box, then click the Add IP to Firewall link in the navigation menu.
  4. In the Allow Rule field, enter your IP address.
  5. Click the Add Rule / Restart button.

  6. You are finished when you see a message stating "Your IP(s) have been added, and APF is being restarted."

2. Connect using PuTTY or Terminal

After adding your IP address to the firewall, you can connect to the server using a client (such as PuTTY), or directly in terminal (if you are a Linux, or Mac user). This section includes guides for both PuTTY and Terminal.

Connect Using:

Connecting to your Dedicated Server via PuTTY

  1. Download and Install PuTTY.
  2. In the Host Name (or IP address) field, enter your domain name, or the <>IP address of our Dedicated server.
  3. Click the Open button.
  4. You will see a PuTTY Security Alert, click the Accept button.
  5. When the login as message comes up, enter your username (cPanel username, or root), then click the Enter key.
  6. Enter your cpanel password (or root password if you are conecting as the root user), then click the Enter key. The password will not show when you type it.

Connecting to your Dedicated Server via Terminal

  1. Open the terminal on your computer.
  2. Type ssh, followed by a space. Then your username, followed by the '@' symbol, and your domain (or IP address) for the hostname and hit the Enter key. For example:


  3. If you see a message stating "Are you sure you want to continue connecting" type yes, then click the Enter key.
  4. You will then be prompted to enter your password. Type your password, then click the Enter key to connect. The password will not show when you type it.

Congratulations, now you know how to connect to your server via SSH!

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

n/a Points
2018-07-25 4:42 pm

Where do I get my password? All that I have entered have failed.

42,516 Points
2018-07-26 5:54 pm
As per the instructions above, if a password is used then it is based on either your cPanel user or the root password. If you have neither then you will need to contact our live technical support team in order to help you recover your cPanel password, or you will need to apply for the root password (or recover it if you have lost it). The live support team contact information is at the bottom of the page.
n/a Points
2017-11-03 9:13 am

Very good concept, nicely explained with steps.

n/a Points
2017-11-03 12:40 am

This very usefull information, i have been searching for info how to connect dedicated server via SSH.

Thanks a lot.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!