Mac SSH Tunnel Manager

From BNL Physics Computing

STM or the SSH Tunnel Manager is a package to manage SSH tunnels on the Mac. It is available from Tynsoe.org

To setup an SSH tunnel to the BNL internal web proxy, open the "Preferences" menu in STM and click on the "+" sign at the bottom of the tunnel list window on the "preferences" page.

Image:SSH_Tunnel_Manager_config.png

As shown in the figure, you give the tunnel a name, enter the account name to login to the gateway machine with, enter the name of the gateway host, and enter the tunnel information. Click on the "+" sign to the right of the "Local redirections" window and then enter 3128 in the left port field (the port on your machine to use), the IP address of the host to tunnel to (in this case, the internal web proxy at 192.168.1.130), and finally enter 3128 in the right port field (the port the web proxy uses). Clicking on the "Options..." button will bring up the side menu where you can select additional options. If you use an SSH agent, then you should make sure the the "Handle authentication" box is not checked.

Once you have configured the tunnel, it should appear in the "SSH Tunnels" window on your desktop (see figure below).

Image:SSH_Tunnel_Manager.png Image:SSH_Tunnel_Manager_active.png

The SSH Tunnels window displays a list of the defined tunnels and their status. Click on the button to the right of the tunnel name to activate it, if it is off and to deactivate it, if it is on. The status will show "Connected" when a tunnel is active and the indicator on the left will be green (right view).