External Portforwarding

Sometimes you need to run something in Beocat that requires and external application to configure. Since we don't allow direct connections into antything other than the headnode, this can prove troublesome. SSH port-forwarding is the way around this.

Windows

From within a Windows environment the application of choice to perform ssh functions is Putty. Putty has numerous options, and buried deep within the configuration page is this page: Putty Tunnels.png

Within that page, you need to choose a source port from your (local) machine, say 4321, and then a destination that the tunnel should connect to, in this case scout1:3389. Click the add button, then start-up you ssh connection to Beocat. From there, you can use an application on you local machine (connecting to localhost:4321) to manipulate an application running on scout1 and listening on port 3389.

You can do this for multiple connections, but remember: you have to use a different "source port" per tunnel.

OSX/Linux

From within an OSX/Linux environment, port forwarding is easy. Fire up your favorite terminal, and run something like this

 mozes@yuffi ~ $ ssh mozes@beocat.cis.su.edu -L 4321:scout1:3389

This will open a port 4321 on you local machine, and send all data sent to it to port 3389 on scout1. From there, you can use an application on you local machine (connecting to localhost:4321) to manipulate an application running on scout1 and listening on port 3389. You can do this for multiple connections, but remember: you have to use a different "source port" per tunnel.