

I'm planning on making a dedicated user with no privileges and not allowed to interactively log in, and use that.) (Yes, I am aware of the hazards of automatically logging in to SSH. The two tunnels are one local tunnel, and one remote tunnel. The data I'm sending across the two tunnels is VNC connections, so I often won't be at the machine to clear errors and enter passwords. What I'd like to do is have an application that can set up the two SSH tunnels, and can automatically reconnect, without needing to manually do anything, including enter a password. This works well, except when the SSH connection drops: PuTTY displays an error message, and I need to manually close the error and reconnect to the server.

There are many more advanced uses of SSH Tunnels, but the above setup will create a general purpose strongly encrypted socks5 proxy to almost any host on the internet.I'm trying to set up a Windows computer to always have two SSH tunnels to my Linux server.Ĭurrently, I'm using PuTTY to open the two SSH tunnels: I log in to the server in PuTTY, leave it minimized, and never touch it. This will be the port that you configure your browser and other programs to use, in order to forward their traffic via the SSH Tunnel.įor destination, in most cases you will want to just select "Dynamic", and hit "Add", and then "Add Host". Next, we make a Tunnel on that Host by filling in the lower "Alias" box with another label, and selecting what local port the Tunnel will listen on.

The settings used below are just an example. Then fill in your VPNSecure Username and Password. You need to fill in an Alias (Label) for the connection, and then get the Host and Port details for the server you want from our members area under "Servers". On the next screen, click the "Host" menu, and "Add Host". I personally have the whole program and its storage file on a flash drive, so I can use tunnels anywhere I go. The first screen will ask for a location and password for your "Encrypted Storage File", this will hold all of the settings, usernames and passwords for each SSH server you select.

This guide will walk you through setup using "SSH Tunnel Manager" available here - Īfter downloading and extracting the zip file (Portable, No installation needed) you can run SSHTunnelManagerGUI.exe
