SSH tunnelling through a SockProxy with Tor

Your company network does not allow any SSH connection? Just make it through a Sock Proxy. You can easily ssh successfully to your server with Tor.


1. Install Tor:

$ sudo apt-get install tor

After installing Tor, some services will be started:

tcp        0      0 127.0.0.1:9050          0.0.0.0:*               LISTEN      14753/tor      
tcp        0      0 127.0.0.1:9150          0.0.0.0:*               LISTEN      7373/tor      
tcp        0      0 127.0.0.1:9151          0.0.0.0:*               LISTEN      7373/tor    


2. SSH through Tor network:

$ torify ssh root@myoutsidedomain.com


Cool!!!


References:
[0] https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/Misc#SSH
[1] https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/ssh


Comments