Skip to content

Instantly share code, notes, and snippets.

@mgershovitz
Created May 2, 2020 21:13
Show Gist options
  • Select an option

  • Save mgershovitz/811eea47338c2a3bfaec5c9dabbb470f to your computer and use it in GitHub Desktop.

Select an option

Save mgershovitz/811eea47338c2a3bfaec5c9dabbb470f to your computer and use it in GitHub Desktop.

Revisions

  1. mgershovitz created this gist May 2, 2020.
    1 change: 1 addition & 0 deletions simple-ssh-tunnel
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ssh -N -L <local_port>:127.0.0.1:<destination_port> -i <private_key_path> <user_name>@<host_ip>