Skip to content

Instantly share code, notes, and snippets.

@levidehaan
levidehaan / Directions
Created May 6, 2013 17:56
SSH Multi-Hop Tunneling
Command to run:
ssh -L 2222:localhost:8501 user@remoteserver.com
where 2222 is the local port mapping it can be any number above 1000
where localhost must be set to localhost and refers to your current connection
where 8501 is the port you will be opening up on the remote machine
where user@remoteserver.com is the first hop in your quest for internal access