Connecting to your Linux server via SSH (Shell Access)

An SSH (Secure Shell) session is a useful means of direct communication with your Virtual Server, giving you remote access to your virtual machine. It is used to install software, modify configuration files and much more. It can also be used to test scripts and generally manage your web site(s) and applications. Many times, users need to access the command line interface (Shell) on their server in order to complete tasks or make changes which are not support by a graphical user interface (GUI). Please see the following steps on how to access the shell on your VPS:
 
If you are running Windows:
2. Double click the executable file to open the PuTTY Program
3. In the “Host Name (or IP address) section, enter your servers hostname
4. In the port section, enter your servers SSH port. (Default SSH port is 22)
5. At the bottom of the program, click the “Open” button.
6. It may ask you to confirm your servers fingerprint. If it does, you can safely click “Yes” on the popup dialog box.
7. It will ask you for your login, enter “root” without the quotes to login as root and hit enter.
8. Enter your password, then hit enter. You will now be logged into your server as the root user. (Please note, upon entering your root password, you will not see any characters echoing to the screen.)
 
If you are running Linux / Mac:
1. Open up your local computers terminal.
2. Type in the following: ssh root@server_ip_address -p22 where server_ip_address is the IP address to your server and 22 is the SSH port assigned to your server (Default SSH port is 22).
  • 58 Users Found This Useful
Was this answer helpful?

Related Articles

Previewing your website before transferring it to your VPS - hosts file

Below is a guide to using the hosts file to preview your site before transferring / before DNS...

Text Editor on Linux

In order to edit files on the command line you will have to use a text editor.There are many text...

Start/stop web services - Apache, Postfix, MySQL, etc

You can restart application services via SSH. Below are some examples: [Redhat based...

Installing/updating packages on Debian/Ubuntu

Before you search/install a package please refresh the package list using this command - apt-get...

Installing/updating packages on Fedora Core/CentOS

i ) To search for a package :- yum search [package] - i.e :- yum search MySQL ii) To install...