How to SSH a Virtual or Dedicated Server (Linux)

SSH is a tool used to connect to your server. This is how the majority of your system is setup.

To use ssh, you'll need an ssh client for your local computer. We recommend PuTTY.

Once you've installed your ssh client, load it up and you should be given a space to enter some information. You'll want to select "SSH" on port 22. You can paste in the Hostname of your server "" or the ip "" in the the space that says "Host Name (or IP Address)". Click "Open".

SSH a VPS or Dedicated Server with Putty

If you've entered all info correctly, you should be prompted with a large black screen asking for your login information. If you are doing system tasks, you'll probably need root access. If you have root access, enter "root" and press enter. Sometimes, it can take several seconds before you see any change. Enter the root password (and press enter), and if everything works, you should see a command prompt, ex:


You are now logged into the server. This is your starting point.

From here you can do anything, including destroy your server, so you must be very careful with the commands you enter.

Some basic commands include:

List: ls

[root@server]# ls
file1.txt   file2.txt   file3.txt

Change Directories: cd

[root@server]# cd /home/admin

Remove a file: rm

[root@server]# rm file1.txt
rm: remove `file1.txt' ? y

Once you've finished working, you can type "exit" and the ssh window should close.

[root@server]# exit

For a more comprehensive list, visit Command Line Tools for Managing Linux Server.

  • ssh, command line
  • 10 Users Found This Useful
Was this answer helpful?

Related Articles

 How to Upgrade a Dedicated Server

This article demonstrates the steps for upgrading your dedicated server package.Changing business...

 How to Install and Run MTR Report

In this article, we will demonstrate how to install MTR on a CentOS server. MTR is a powerful...

 Reload Operating System of Dedicated Server

This article will provide instructions for reloading the operating system of your Rad Web Hosting...

 Forcefully Delete an IP Address from SolusVM

If at any point you find you have an orphaned ipaddress, you can delete it by running the...

 Bind Additional IPs to NIC - CentOS & Apache

This article explains the process of binding multiple IP addresses to the Network Interface Card...