[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
playground:ssh_on_tor [2014/01/14 20:28 (UTC)] – created chrisabelaplayground:ssh_on_tor [2014/01/14 20:34 (UTC)] (current) chrisabela
Line 6: Line 6:
  
 <code> <code>
-$ cd /tmp+$ cd /tmp/
 $ hg clone https://bitbucket.org/gotoh/connect $ hg clone https://bitbucket.org/gotoh/connect
 </code> </code>
Line 19: Line 19:
  
 <code> <code>
-$ cd connect+$ cd connect/
 $ make $ make
 su - su -
Line 28: Line 28:
 </code> </code>
  
-===4. Tunnel SSH in TOR===+===4. Start TOR===
  
 Start Tor from Vidalia or from the CLI: Start Tor from Vidalia or from the CLI:
Line 35: Line 35:
 # sh /etc/rc.d/rc.tor start # sh /etc/rc.d/rc.tor start
 exit exit
 +</code>
 +
 +===5. Connect from SSH over TOR===
 +<code>
 $ ssh -p <SSH_SERVER_PORT> <SSH_SERVER_URL_OR_IP> -o ProxyCommand="connect -4 -S localhost:9050 %h %p" $ ssh -p <SSH_SERVER_PORT> <SSH_SERVER_URL_OR_IP> -o ProxyCommand="connect -4 -S localhost:9050 %h %p"
 </code> </code>
Line 40: Line 44:
 If the SSH server uses the default port 22, then you do need to enter the -p <SSH_SERVER_PORT>, otherwise enter the appropriate port. Then also enter the correct SSH server URL or IP in the indicated field If the SSH server uses the default port 22, then you do need to enter the -p <SSH_SERVER_PORT>, otherwise enter the appropriate port. Then also enter the correct SSH server URL or IP in the indicated field
  
-===5. Sources===+===6. Sources===
 https://www.antagonism.org/anon/ssh-tor.shtml https://www.antagonism.org/anon/ssh-tor.shtml
 +
 +  * Originally written by [[wiki:user:chrisabela | Chris Abela]]
 +<!-- Please do not modify anything below, except adding new tags.-->
 +{{tag>howtos tor ssh author_chrisabela}}
 playground:ssh_on_tor ()