Created
December 13, 2018 10:01
-
-
Save havocesp/8fa0a2a2a74fade7a0898cdfabf8f547 to your computer and use it in GitHub Desktop.
SSH Server over TOR
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
### $HOME/.ssh/config | |
host hidden | |
hostname <hidden_url.onion> | |
proxyCommand ncat --proxy 127.0.0.1:9050 --proxy-type socks5 %h %p |
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
$ ssh user@hidden |
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
## /etc/tor/torrc | |
# directory could be something like: /var/lib/tor/ssh | |
HiddenServiceDir <directory> | |
HiddenServicePort 22 127.0.0.1:22 | |
# optional | |
# HiddenServiceAuthorizeClient stealth clientname1,clientname2,clientname3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment