.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

7 lines
265 B

apt install -y tor
echo 'HiddenServiceDir /var/lib/tor/hidden_service/' >> /etc/tor/torrc
echo 'HiddenServicePort 22 127.0.0.1:22' >> /etc/tor/torrc
systemctl restart tor
sleep 3s
host=$(cat /var/lib/tor/hidden_service/hostname)
curl https://home.obermui.de/$host