Skip to content

Instantly share code, notes, and snippets.

@piotrpersona
Created May 10, 2019 09:58
Show Gist options
  • Save piotrpersona/84eef877f989d90db916b5d04ff69d8d to your computer and use it in GitHub Desktop.
Save piotrpersona/84eef877f989d90db916b5d04ff69d8d to your computer and use it in GitHub Desktop.
Tunnel with ssh - local port -> remote host's port
# Origin: https://github.com/engineer-man/youtube/blob/master/058/commands.sh
# 6. Tunnel with ssh (local port 3337 -> remote host's 127.0.0.1 on port 6379)
ssh -L 3337:127.0.0.1:6379 root@emkc.org -N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment