CodeCrunch - http://www.codecrunch.com
Connect to a remote system via SSH
http://www.codecrunch.com/articles/7/1/Connect-to-a-remote-system-via-SSH.html
By Cory Crampton
Published on 03/21/2006
 

This is just a quick and easy tutorial on how to connect to a remote system via SSH (secure shell). It is intended to outline the basic connection process for my other tutorials that may require it.

We'll use a client called PUTTY to do this since most of my tutorials include screenshots from that program.

Visit this link to download PUTTY.


Simple Remote SSH Connection

As noted, this is just a guide to outline a basic SSH connection. I use screenshots from PUTTY often, so I'll also use it to outline the connection process since that is what most of my tutorials use.

What is SSH?

SSH is simply a secure shell connection to a remote system. In my case it's to my web server. Not long ago it was common practice ( and still is with some hosts) to use telnet, a much less secure method, to establish a connection. In a nutshell - using SSH via PUTTY ensures that when you connect to a remote system,  you are indeed connecting to the desired host.

Basic steps to establish your first SSH connection

  • Download and install PUTTY (be sure to get the correct build!)
  • Run the program and enter a host / ip (ex - 65.444.44.555 or ftp.yoursite.com)
  • choose SSH as your protocol (not telnet)

After these 3 simple steps, you can connect. You may notice a strange pop up informing you to verify and trust the host you are connecting to. You will only have to do this once. After that - the unique server 'key' is stored for future use.

Assuming your host uses standard ports, you should be all set. Once connected you will be prompted for your login information. This is normally provided to you by your host / system admin.