Skip to content

Instantly share code, notes, and snippets.

@sathiyarajanm
Forked from Davor111/sshuttle.sh
Created November 23, 2017 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sathiyarajanm/dc8d7b9c4f32c226feccb4fa4c8f0371 to your computer and use it in GitHub Desktop.
Save sathiyarajanm/dc8d7b9c4f32c226feccb4fa4c8f0371 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