Deru Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How do I setup and use SSH?

Add comment
Views: 1514
Votes: 0
Comments: 0
Posted: 05 May, 2009
by: Majoosh C.
Updated: 17 Jul, 2012
by: Majoosh C.
SSH Secure Shell provides users with a secure, encrypted mechanism to log into linux systems and transfer files. SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plain text, leaving them open for interception. The encryption used by SSH provides confidentiality and integrity of data over an insecure network, such as the Internet.

There are basically two ways to SSH to the server depending on the OS you are running in your local machine.

For Linux users:

You may ssh to the server using the command below.

Syntax:
-----------
bash# ssh username@<server ip>
Password:

-------------
For example:
-------------
bash-3.2$ ssh majoosh@deruserver.net
majoosh@deruserver.net's password:
majoosh@deruserver.net [~]#

--------------

For Windows users:

By default windows does not have any SSH utility. So we have to install a 3rd party software.  PUTTY is a popular SSH client for windows users :)

You have to download PUTTY software from http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

Save it to your Desktop.

Double click on putty.exe and it will open PUTTY to enter the details of the server.




You have to enter either your domain name  or IP address of your website/server in the Hostname field.  Make sure the port is 22.

Now click Open. This will open another window like the one below asking for your login details.




Enter your username and password. You are in :)



Others in this Category
document Ssh - key based authentication
document SSH Port Forwarding (SSH tunneling ) in Linux machines.
document How to Install SSH2 for PHP shell connections
document How to enable Jail shell access for an acount in cPanel ?
document How to disable SSH password authentication in a cPanel server from WHM ?



RSS