Skip to content

Instantly share code, notes, and snippets.

@mgershovitz
Last active May 2, 2020 21:14
Show Gist options
  • Save mgershovitz/2dfd9fdc574fa2d58ecae91e24e58de8 to your computer and use it in GitHub Desktop.
Save mgershovitz/2dfd9fdc574fa2d58ecae91e24e58de8 to your computer and use it in GitHub Desktop.
ssh -N -L <local_port>:<host2_ip>:<destination_port> -i <private_key_path> <user_name>@<host1_ip>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment