SSH client software is required in order to connect to the SSH Server. PuTTY is an opensource SSH (and Telnet) client. There are several versions of PuTTY, including -
- PuTTY - Telnet and SSH client. GUI tool that also supports command line arguments.
- PuTTY Portable - portable version of PuTTY (does not save any stored session information to the Windows registry).
- Plink - command line version of PuTTY.
- PuTTY Tray - "PuTTY Tray is an improved version of PuTTY (Win32). It features some cosmetic changes, and a number of addons to make it more useful and much more fun to use." (from PuTTY Tray website)
Personally I use plink and automate login to the SSH Server using a batch file. For those people not comfortable with command line applications PuTTY can be configured and a profile can be saved to avoid having to input the settings at every login attempt.
Example plink usage to enable a TightVNC session (a graphical desktop sharing system using the RFB protocol) via a SSH tunnel (command should be entered on one line) -
plink.exe -l User -L 5900:127.0.0.1:5900 -P 22 -2 -C -i keyfile.ppk -ssh 192.168.2.2 [enter]
The equivalent steps when using PuTTY in GUI mode -
Left click on Session category (in left column on PuTTY configuration window) and enter the following parameters -
Left click on Connection > Data category (in left column on PuTTY configuration window) and enter the account name to log in to (e.g. User) -
Left click on SSH category (in left column on PuTTY configuration window) and ensure Enable compression is enabled -
Left click on ssh > tunnels category (in left column on PuTTY configuration window) and enter the following parameters, then click on the Add button -
After clicking on the Add button, an entry will be added to Forwarded ports -
Left click on SSH > Auth category (in left column on PuTTY configuration window) and browse to the keyfile used during login -