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

blobby at openmailbox.org blobby at openmailbox.org
Thu Nov 10 17:24:42 UTC 2016

Using the latest version of Torsocks with: torsocks ssh 
root at gives:

PERROR torsocks[13225]: socks5 libc connect: Connection refused (in 
socks5_connect() at socks5.c:202)
ssh: connect to host 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.

More information about the tor-talk mailing list