1
I am trying to make an anonymous connection via ssh to a remote server using torsocks on my Macbook pro running Sierra, but it does not work.
I tried:
torsocks ssh root@THEIP
AND
ssh -L 9050:127.0.0.1:9050 root@THEIP
AND
ssh -o ProxyCommand="nc -X 4 -x localhost:9050 %h %p" root@THEIP
The very last command also throws an error: ssh_exchange_identification: Connection closed by remote host
While the other two commands work, when I am inside the remote server and I type who
I am getting my real IP address, so I am assuming torsocks is not working.
What's wrong?
@fixer1234 updated answer to make it an answer – James Campbell – 2016-11-09T21:57:56.377