Skip to content

Instantly share code, notes, and snippets.

@MnMTech
Created May 27, 2015 18:52
Show Gist options
  • Save MnMTech/f2ea861b71afcc08354a to your computer and use it in GitHub Desktop.
Save MnMTech/f2ea861b71afcc08354a to your computer and use it in GitHub Desktop.
Create an SSH tunnel using a key file
ssh -N -L 8888:127.0.0.1:80 -i /path/to/local/key/file.pem user@hostname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment