Skip to content

Instantly share code, notes, and snippets.

@basvdheijden
Last active March 23, 2016 15:15
Show Gist options
  • Save basvdheijden/2c4f3dfbc50ef38909fd to your computer and use it in GitHub Desktop.
Save basvdheijden/2c4f3dfbc50ef38909fd to your computer and use it in GitHub Desktop.
#!/bin/sh
# 8888 = Local port to expose on
# 2443 = Remote port to tunnel
# server the name of the server (or root@IP)
ssh -L 8888:localhost:8080 -N server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment