In order to access your server via SSH tunnel you need an SSH client. In the instructions below we have selected PuTTY, a free SSH client for Windows and UNIX platforms. To access the server via SSH tunnel using PuTTY on a specific port using an SSH tunnel, you need to have it configured in order to allow connections to your server.
Step 1: Obtain PuTTY
Download the PuTTY ZIP archive from its website.
Extract the contents to a folder on your desktop.
Double-click the putty.exe file to bring up the PuTTY configuration window.
Step 2: Convert your PEM private key to PPK format.
If your private key is in .pem format, it is necessary to convert it to PuTTY's own .ppk format before you can use it with PuTTY. If your private key is already in .ppk format, you may skip this step.
Step 3: Configure PuTTY
Launch the PuTTY Key Generator by double-clicking the puttygen.exe file in the PuTTY installation directory.
Click the Load button and select the private key file in .pem format.
PuTTY key conversion
Once the private key has been imported, click the Save private key button to convert and save the key in PuTTY's .ppk key file format.