[tor-talk] Tor over SSH (torsocks) (?)

Lars Luthman mail at larsluthman.net
Wed Feb 18 15:57:53 UTC 2015


On Wed, 2015-02-18 at 14:12 +0000, blobby at openmailbox.org wrote: 
> At the same time, perhaps I'm wrong and it's easy to set-up a hidden 
> server to look for SSH connections? Perhaps I'm assuming that things are 
> harder than they are in order to persuade myself not to learn. I'm also 
> "time poor" at the moment which doesn't help!

Step 1: Install Tor ('apt-get install tor' on Debian)
Step 2: Create a directory where the HS data will be stored 
        ('mkdir /var/lib/tor/ssh-hs && chown debian-tor.debian-tor /var/lib/tor/ssh-hs'
        on Debian, as root)
Step 3: Add the following lines to the Tor configuration file:
        (/etc/tor/torrc on Debian):

          HiddenServiceDir /var/lib/tor/ssh-hs/
          HiddenServicePort 22 127.0.0.1:22

Step 4: Make Tor reload its configuration file ('service tor reload') or
        simply restart Tor ('service tor restart').
Step 5: Read the hidden service address from
        /var/lib/tor/ssh-hs/hostname, write it down somewhere.

Once Tor has had a couple of minutes to get the service descriptor onto the
network, try to connect ('usewithtor ssh your_hs_address.onion').

It's definitely not more complicated than setting up a VPN or much more
complicated than using SSH in general.


--ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20150218/ff4f463f/attachment.sig>


More information about the tor-talk mailing list