Tor recently started fiddling with Tor and found out I can host a Tor hidden service that will allow me to forward SSH traffic through a firewall. My setup is: I have a computer at home hosting a SSH Hidden Service on Tor with these settings:
SocksPort 9050 SocksListenAddress 127.0.0.1 HiddenServiceDir ./.hs/ HiddenServicePort <port number> 127.0.0.1:22
On my work computer I simply connect to this hidden service through Tor, so to make sure my traffic is being routed through the Tor-network i used torsocks.
So now my command to connect to the home pc shoudl be:
torsocks ssh -p<port number> firstname.lastname@example.org
Yet I keep getting the following error:
ERROR torsock: General SOCKS server failure (in socks5_recv_connect_reply() at socks5.c:516)
ssh: connect to host port : Connection refused
I don't know why I can't connect to the service, it seems to be running fine, no problems.
Please help, thanks!