Created
February 17, 2017 08:34
-
-
Save Davor111/4b6a3d638b5e7abdb8910f87d20e40d2 to your computer and use it in GitHub Desktop.
How to use sshuttle with .key, .csr or .pem files for authentication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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
You may try this command, given that your remote server is defined in
.ssh/config
asmyserver
wherexxx.xx.xxx.xxx
is your server's IP.sshuttle --dns -r myserver 0/0 -x xxx.xx.xxx.xxx