This will take port 2222 on your local host and terminate it at 22 on ultimate_destination_host_ip via
your ssh tunnel to intermediary_host_ip
ssh -L 2222:ultimate_destination_host_ip:22 intermediary_host_ip -l username_common_to_both_hosts
Monday, September 22, 2008
piggy back port forward through intermediary box
Labels:
command line,
port forward,
shell,
ssh,
sysadmin,
system administration,
tunnel
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment