[tor-talk] How to use Torsocks in Ubuntu 16.04 64 bit?

Jonathan Marquardt mail at parckwart.de
Fri Nov 11 17:47:08 UTC 2016


On Thu, Nov 10, 2016 at 05:24:42PM +0000, blobby at openmailbox.org wrote:
> Using the latest version of Torsocks with: torsocks ssh root at 111.222.222.111
> gives:
> 
> PERROR torsocks[13225]: socks5 libc connect: Connection refused (in
> socks5_connect() at socks5.c:202)
> ssh: connect to host 111.222.222.111 port 22: Connection refused
> 
> I installed the "build dependencies"
> (https://launchpad.net/ubuntu/xenial/+source/torsocks). I have the opsenssh
> client installed.
> 
> I previously followed the instructions here
> (https://github.com/dgoulet/torsocks). My version is 2.2.0. I can access the
> same IP address with SSH (without Torsocks).
> 
> I can use ssh fine. I used Torsocks successfully in 14.04 but in 16.04 64
> bit I have the error.
> 
> Can anyone suggest how to rectify this error, thanks.
> -- 
> tor-talk mailing list - tor-talk at lists.torproject.org
> To unsubscribe or change other settings go to
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

I get your error if Tor is either not running or torsocks is misconfigured. 
Did you make sure that Tor is running on your system and that the Tor IP 
address (probably 127.0.0.1) and the SOCKS port are correctly configured in 
torsocks.conf?


More information about the tor-talk mailing list