Difference between revisions of "SSH Onion Service"
From Hackerspace.gr
(SSH Onion Service) |
(No difference)
|
Latest revision as of 17:35, 27 March 2018
Notes from a Tor Meetup for running an ssh server accessible through Tor.
Implementing the configuration below and running tor on both ends you use torify to wrap ssh.
torify ssh user@<hash>.onion -p 2233
Server torrc
SocksPort auto RunAsDaemon 0 DataDirectory /home/user/onion_data HiddenServiceDir /home/user/onion_srv HiddenServiceVersion 3 HiddenServicePort 2233 127.0.0.1:22 Log notice stdout
Client torrc
SocksPort 45422 RunAsDaemon 0 DataDirectory /tmp/tor/ Log notice stdout
Client torsocks
TorAddress 127.0.0.1 TorPort 45422