How to use SSH

SSH is a tool used to connect to your server.   This is how 95% 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 past in the name of your server "" or the ip "" in the the space that says "Host Name (or IP Address)".  Click Open.

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 on 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

[root@server]# exit

and the ssh window should be closed.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setting the system date and clock

To set the system clock, use the date command.For Redhat Systems, use the following format: date...

Linux Command Line Cheat Sheet

Moving Around the FilesystemCommands for moving around the filesystem include the following....

What are some basic commands that I need to know to use Linux?

If you are new to shell (SSH), below are some commands to get you started. A full list of shell...

Basic Commands for Services

IPTABLES To check firewall rule set using iptables:iptables -L To Flush/Clear the firewall...

How can I check the number connections to a port from an IP?

While logged into your server via SSH as root you can run the following command: netstat...

Powered by WHMCompleteSolution