¶ SSH Remote Login Over Tor
This guide will instruct you on how to SSH into your RoninDojo over TOR using an Android device.
Prerequisites:
- Orbot Android App
- Android SSH App JuiceSSH or Termux
¶ Setup SSH Hidden Service
- Open the command line interface also known as RoninCLI.
- Open your torrc file.
- Add the following lines to your torrc file under the section labled “This section is just for location-hidden services”.
- Save torrc file and exit back to command line.
- Restart TOR.
- Retrieve your SSH onion address with the command below.
¶ Connect Through Mobile Device
- Install your desired SSH app. Make sure that any VPN service is turned off before launching Orbot and SSH app. Install and launch Orbot, enable 'VPN mode', add Termux or JuiceSSH in "Tor-Enabled Apps," and connect to TOR by pressing "start" on the onion icon.
- Launch your SSH app (mentioned above).
- SSH into your RoninDojo.
For JuiceSSH:
For Termux: Run the following commands
¶ Tor Bridges
Tor bridges, also called Tor bridge relays, are alternative entry points to the Tor network that are not all listed publicly. Using a bridge makes it harder, but not impossible, for your Internet Service Provider to know that you are using Tor. This guide will show you how to install the necessary dependencies in order to properly use Tor Bridges to bypass any ISP censorship to the Tor network.
Tor Bridges depend on the obfs4proxy package in order to function but this package is not currently available through the official Manjaro Linux repositories and only available through AUR a.k.a Arch Linux User Repository. Follow the instructions below to get going.
¶ Install System Build Dependencies
Before you begin, make sure you have the base-devel package group installed.
¶ Install Yay Package Manager For AUR
Yet another yogurt [^1]. Pacman wrapper and AUR helper written in go. This is the package manager that will manage the installation of all AUR packages for you.
¶ Install Obfs4proxy With Yay
Most Pluggable Transports, such as obfs4 [^2], rely on the use of “bridge” relays [^3]. Like ordinary Tor relays, bridges are run by volunteers; unlike ordinary relays, however, they are not listed publicly, so an adversary cannot identify them easily.
DO NOT run below command with sudo!
¶ Getting Bridge Addresses
Because bridge addresses are not public, you will need to request them yourself. You have a few options:
Remember you are getting tor bridges for tor daemon not for torbrowser
- Visit https://bridges.torproject.org/ and follow the instructions, or
- Email bridges@torproject.org from a Gmail, or Riseup email address
- Use MOAT to fetch bridges from within Tor Browser.
¶ Configure /etc/tor/torrc To Use Your Bridges
Now that you got your Tor bridges, it is time to configure your tor daemon to utilize them. You should have gotten something similar to
¶ Open /etc/tor/torrc
Include your Tor Bridge data at the very bottom of the file, then CTRL+X to exit and save.
¶ Restart the Tor Service
¶ Confirm Tor Bridge is Enabled
We will not check status of the tor systemd service. Confirm that you have similar output to the below text
If so, then Tor Bridge setup has been successful. Now enjoy censorship resistant Tor daemon
¶ Footnotes
[1]: https://github.com/Jguer/yay
[2]: https://github.com/Yawning/obfs4
[3]: http://dgvdmophvhunawds.onion/bridges/index.html
¶ Additional Info
Check out the Troubleshooting page for more info.
Need help? Try out our Support Service.
Join the RoninDojo Chatroom and engage the community.