How to login to your server via SSH for VPS/Dedicated Servers
Before you can login to your server, you need to ensure the following prerequisites are met:
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.
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 email@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.
- Open Putty.
- Enter your hostname.
Can't connect? Getting an error message Network Error: Connection timed out? Be sure to add your ip address to the firewall.
- If you get a "PuTTY Security Alert", click yes to continue (If you read the message, this is your server so you should trust it).
- You will see "Login As". Please enter your username and then hit Enter.
- You 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.
- When you have successfully logged in, you'll see
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!
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!