Add sshd onion service

This commit is contained in:
Jonas Nick
2018-12-27 21:22:52 +00:00
parent 566f308aa8
commit ffcd311b70
2 changed files with 14 additions and 0 deletions
+6
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