From b58c63fbf25c128443fae3250e1c1a66678e2cf6 Mon Sep 17 00:00:00 2001 From: nyxnor <69700936+nyxnor@users.noreply.github.com> Date: Tue, 18 May 2021 19:53:34 +0000 Subject: [PATCH] torsocks ssh instruction in the FAQ (#2307) https://github.com/rootzoll/raspiblitz/issues/2273 --- FAQ.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/FAQ.md b/FAQ.md index 26e8f5407..dcc660e62 100644 --- a/FAQ.md +++ b/FAQ.md @@ -56,6 +56,7 @@ - [Why is my node not routing?](#why-is-my-node-not-routing) - [How can I update LND or bitcoind even before the next RaspiBlitz update?](#how-can-i-update-lnd-or-bitcoind-even-before-the-next-raspiblitz-update) - [I cannot connect per SSH to my RaspiBlitz. What can I do?](#i-cannot-connect-per-ssh-to-my-raspiblitz-what-to-do) +- [How to SSH over Tor?](#how-to-ssh-over-tor) - [How do I setup port-forwarding with a SSH tunnel?](#how-to-setup-port-forwarding-with-a-ssh-tunnel) - [How do I setup just a port-forwarding user on my public server?](#how-to-setup-just-a-port-forwarding-user-on-my-public-server) - [How do I connect a UPS to the RaspiBlitz?](#how-to-connect-a-ups-to-the-raspiblitz) @@ -713,6 +714,21 @@ If that doesn't work, try to ping the IP of the RaspiBlitz with `ping [IP-of-Ras If you've checked those and SSH is still not working: Join the conversation on [GitHub Issue #420](https://github.com/rootzoll/raspiblitz/issues/420). +## How to SSH over Tor? + +SSH is already encrypted, why would I want to use it with Tor? +* Remote access when away from LAN. +* Anonymized access - Someone sniffing the traffic don't know where the server you are establishing a connection is, not the server side knows where the client is. + +Create Hidden Service: +`bash /home/admin/config.scripts/internet.hiddenservice.sh ssh 22 22` + +SSH over Tor: +`torsocks ssh admin@HiddenServiceAddress.onion` + +Get the address: +`sudo cat /mnt/hdd/tor/ssh/hostname` + ## How to setup port-forwarding with a SSH tunnel? To use a public server for port-forwarding thru a SSH tunnel you can use the following experimental script on the RaspiBlitz (since v1.2):