Skip to content

Instantly share code, notes, and snippets.

@TanJay
Forked from Davor111/sshuttle.sh
Created May 31, 2021 16:07
Show Gist options
  • Select an option

  • Save TanJay/67cb9968a19073394b792fe4d6214d6b to your computer and use it in GitHub Desktop.

Select an option

Save TanJay/67cb9968a19073394b792fe4d6214d6b 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 [email protected] 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