SSH on Windows requires a little more effort than Mac OS X and Linux. Unlike all other OS, SSH on Windows have no native command (apps) to do it. No way to establish a SSH connection on Windows without some sort of third party applications. Windows PowerShell has no SSH support out of box. You need add-ons to add this very common feature into PowerShell. Most people might have heard of the app Putty which is the most popular third party SSH app. But popular doesn’t necessary mean it’s good, for example, it doesn’t do a good job at establishing a solid SSH connections.
Bitvise SSH Client is a great alternative to Putty, not only does it have a much better UI, but also does SSH Tunnel as well.
How to Use Bitvise SSH Client To Create SSH Tunnel Connection
In a nutshell, SSH Tunnel allows one to connect to a server’s service that aren’t exposed by other protocols. There are other articles explains this in much detail, but my purpose here is to show you how you can use Bitvise SSH Client to establish a SSH Tunnel connection.
Go download the app if you haven’t, when it first lunch, enter the corresponding destination server you’d like to connect. SSH will always be on port 22, under the authentication section, enter your username and password. You can save this setting as a new profile, for easier reusability later.
Now go to C2S tab, add a new entry, set the Listen Interface to your local IP, List. Port can be many none occupied port but most likely you’d like to keep this consistent with the Destination Host’s port. Under Destination Host, enter the IP address of the remote server you wish to connect via SSH, put the port under Dest. Port. Once everything is done you can now login. One of the biggest advantage of using Bitvise SSH Client is that the SSH connection will never die, if you happen to be disconnected due to inactivity, it will try to re-establish the connection automatically. So this way you will always have a “always-on” SSH tunnel connection to the server.
Give it a try after the connection is established, you can do that by going to localhost: ( port ) in your browser to test if it’s loading the remote server’s content.
There you have it, using Bitvise SSH Client to create a SSH Tunnel connection.