Follow Us on Google+
Follow Us on Twitter
Like us on Facebook
Subscribe to our RSS Feed

What Is SSH And How Can You Use It?

Posted by on June 13, 2008 in Tutorials.
 

What Is SHH and How To Use ItSSH stands for Secure Shell. You may have already seen SSH as a web hosting feature on some web hosts and wondered what it’s for.

SSH is a network protocol that allows two computer to communicate together through a secure channel. Data encryption is used to ensure security. SSH uses a public-key to authenticate the remote computer and allow the user to authenticate if necessary.

Here are some types of application for SSH:

  • Logging in remotely and execute shell commands
  • X11 Connections (X11 is the GUI server)
  • Transferring files using SFTP


How To Login Remotely Using SSH

To connect remotely using SSH, you will need a SSH client such as PUTTY. This lite SSH client doesn’t require any installation. It consists only one executable file that you need to extract to your hard drive and execute.

Upon execution, simply enter the IP address or the hostname of the computer (ie.: server) you want to connect to and click Open.

SSH Putty

You will then be prompted to accept the connexion key. From there, depending on the SSH server’s configuration, you might automatically be logged in or you could be prompted for a username and password.

How To Transfer Files Through SSH

To transfer files between two computers through SSH, you need a SFTP client such as WinSCP. The difference with regular FTP is that you will see the entire directory structure although you will only be able to access files and directory allowed by your credentials.

WinSCP SFTP Client - SSH

From there it’s basically the same thing as using an FTP client; you just drag and drop files from one computer to another.

 
Tags: basic linux commands, linux basic commands, putty, remote commands, sftp, ssh

About Stephane Brault

Stephane is a web developer and system administrator with over 18 years of experience. Specialized in PHP programming and Linux server administration, he also provided development and consulting services to SMBs for several years before becoming an online entrepreneur.

3 responses so far ↓

1. Response by : Web-Based Java SSH Client on Jun 17, 2008 at 12:02 am

[...] Following up on my last post about SSH, I’ve found some Java SSH Clients I’d like to share with you. As opposed to SSH client [...]

avatar

2. Response by : Code Cocktail on Aug 26, 2012 at 2:20 am

Very helpful post thanks. It saves my time. Can you give me an idea how to configure ssh for wamp localhost server. Is that possible. If you no please give me instructions.

Leave a Comment




Bluehost
MaxCDN - Speed Up Your Website