Easy SSH Tunnel to any service
To connect to a service on a remote machine which is behind a firewall, as long as there's SSH access, this can be done with:
ssh -L LOCALPORT:localhost:REMOTEPORT -p 22 [email protected]
Then simply connect to the service using port
on localhost
where 22
is the port SSH is running on remotely.