This guide will instruct you on how to SSH into your Raspiblitz over TOR using an android device.
Prerequisites:
- TOR enabled on your Raspiblitz
- Orbot android app
- An SSH android app (JuiceSSH or Termux)
Setup SSH Hidden Service
- Open the command line terminal on your raspiblitz
- Open your torrc file
sudoedit /etc/tor/torrc
- Add the following lines to your torrc file
# SSH Hidden Service
HiddenServiceDir /mnt/hdd/tor/sshd
HiddenServiceVersion 3
HiddenServicePort 22 127.0.0.1:22
- Save torrc file and exit back to command line
- Restart TOR
sudo systemctl restart tor
- Retrieve your SSH onion address
sudo cat /mnt/hdd/tor/sshd/hostname
Connect Through Mobile Device
For JuiceSSH
- Install and launch Orbot
- Enable 'VPN mode' and connect to TOR
- Install and launch your SSH app
- SSH into your raspiblitz
In JuiceSSH: Add a new connection
- Type: SSH
- Address: youraddress.onion (from step 6)
- Identity
Username: admin
Password: 'Your Raspiblitz Password A'
- Port: 22
For Termux: Run the following commands
- Install necessary packages
pkg install openssh tor proxychains-ng termux-services
- Restart Termux
- Enable tor service and SSH into your raspiblitz
sv-enable tor
proxychains4 ssh [email protected]
Note: if you use Orbot VPN system-wide you need to deselect Termux.
You should now be connected to your raspiblitz node!