Created
October 20, 2021 07:50
-
-
Save darth-veitcher/85a638258a1fef5e407fc96b5fae4e6e to your computer and use it in GitHub Desktop.
SSH config for onion hidden service
This file contains hidden or 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
# Uses a local proxy on port :9050 so assumes you are | |
# running Tor to expose this to SSH. | |
host myservice.onion | |
hostname 2fxcweuibfeuibgiownedoiewnfu3wfnwcin7imiad.onion | |
user myuser | |
port 22 | |
identityfile ~/.ssh/id_rsa | |
ProxyCommand /usr/bin/nc -xlocalhost:9050 -X5 %h %p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment