Skip to content

Instantly share code, notes, and snippets.

@jordanpotti
Forked from Davor111/sshuttle.sh
Created December 4, 2017 18:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordanpotti/fbbc327f5124fd076e66f19123575343 to your computer and use it in GitHub Desktop.
Save jordanpotti/fbbc327f5124fd076e66f19123575343 to your computer and use it in GitHub Desktop.
How to use sshuttle with .key, .csr or .pem files for authentication
#It's not directly mentioned in the documentation on how to do this, so here you go. This command will tunnel everything including DNS:
sshuttle --dns -vr user@yourserver.com 0/0 --ssh-cmd 'ssh -i /your/key/path.pem'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment