InMotion Hosting Support Center

Before you can login to your server, you need to ensure the following prerequisites are met:

  1. Your account has ssh access.
  2. Your IP address has been added to the firewall.
  3. You have a SSH client.

If you are looking for information on how log in via SSH with a shared server, please see SSH access for Resellers and Shared Servers. Click here to learn more about Dedicated Server hosting.


In this tutorial, we're going to be using PuTTY to connect to your VPS or dedicated server via SSH. If you don't already have an SSH client, we recommend that you download PuTTY.

If you are trying to directly connect from a Linux or Mac terminal via SSH, please note the format of the command would need to be in this format:

[Bob ~]$ ssh username@example.com -p 22

If you do not specify the full username such as username@example, the server would instead try to login as your local user, in this case Bob@example.com, and because that user doesn't exist on the server you'd get a login error.

Before we open PuTTY, you'll need the following settings:

Note! Your hostname and username can be found in the Technical Details of your AMP home page.

Host Name: As your hostname, you can use either your server's ip address, your domain, or your server name (as in vps####.inmotionhosting.com ro biz152.inmotionhosting.com)
Username: Use your cPanel username.
Password: Use your cPanel password.

How to connect using PuTTY

In this tutorial, I am using vps801.inmotionhosting.com as the host name, "brad" as the cPanel username, and the ******** as the password.

  1. Open Putty.
  2. open-putty-and-enter-your-hostname-then-click-openEnter your hostname.
  3. Click "Open".

    Can't connect? Getting an error message Network Error: Connection timed out? Be sure to add your ip address to the firewall.

  4. click-yes-to-the-putty-security-alertIf you get a "PuTTY Security Alert", click yes to continue (If you read the message, this is your server so you should trust it).
  5. putty-login-as-prompt-is-asking-for-your-usernameYou will see "Login As". Please enter your username and then hit Enter.
  6. enter-your-password-into-puttyYou will then see username@vps####.inmotionhosting.com's password:. Enter your password and hit enter. For security reasons, PuTTY will not show anything when you type your password, this is normal.
  7. When you have successfully logged in, you'll see username@vps####.inmotionhosting.com [~]#.

    Note! If you get an error stating Shell Access is Not Enabled on your server, you will need to contact tech support to have our higher level of support enable the shell access. If you can access your WHM, you can enable SSH through your WHM.

Congratulations, you have now successfully logged into your server via SSH! Are you looking for hosting that supports SSH? Learn what SSH Hosting we have to offer!



Support Center Login

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
User with shell access
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2015-08-17 7:26 pm

I am a little fuzzy on your reference to connecting using terminal on a MAC. As PuTTY is not a MAC option.

You have a short info explanation in the blue box:

[Bob ~]$ ssh username@example.com -p 22

If I understand this then I would enter ssh myusername@vps(mynumber).inmotionhosting.com -p 22

Not sure about the "-p22"

Tried to find an Inmotion video regarding connecting to SSH using terminal. Haven't found yet. Is there one?

thanks.

Staff
28,948 Points
2015-08-17 7:57 pm
Hello Ernest,

Yes, you should be able to use that command via Terminal on the Mac. The -p 22 indicates that it should connect using port 22.

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

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

3 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

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: support@InMotionHosting.com
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!