Add sshd onion service

This commit is contained in:
Jonas Nick 2018-12-27 21:22:52 +00:00
parent 566f308aa8
commit ffcd311b70
No known key found for this signature in database
GPG key ID: 4861DBF262123605
2 changed files with 14 additions and 0 deletions

View file

@ -22,3 +22,9 @@ if [ -e "$SPARKWALLET_ONION_FILE" ]; then
SPARKWALLET_ONION="$(cat $SPARKWALLET_ONION_FILE)"
echo SPARKWALLET_ONION="http://$SPARKWALLET_ONION"
fi
SSHD_ONION_FILE=/var/lib/tor/onion/sshd/hostname
if [ -e "$SSHD_ONION_FILE" ]; then
SSHD_ONION="$(cat $SSHD_ONION_FILE)"
echo SSHD_ONION="$SSHD_ONION"
fi