SSH Tunnel
ssh -N -L 4001:destination.machine.de:3389 user@gateway.machine.de
Forward local port 4001 to gateway.machine.de, and tell him to send this to destination.machine.de, on port 3389
-N | tells ssh to only handle tunnel, we do not want a shell on this host |
-L | specifies the kind of tunnel (Local port forwarding) |
4001 | is the local port to use |
destination.machine.de | is a host hidden by the firewall |
3389 | is the port you want to reach. |
user | is the user you want to connect as. |
gateway.machine.de | is the public server you will jump by. |
Comments Off on SSH Tunnel