English Español Deutsch Français Italiano
Site logo image

Home Services Blog Price List Canary About User Policy Guides FAQ Contact
Hosting Service Management Relays Shell Accounts ViewPVS Virtual Private Servers

Latest blog post...

13:56:13 20/04/2019Growing interest



Connecting with a *NIX shell

This guide will tell you a few methods to connect using the the shell on your *NIX box. Things with TAILS and Whonix are more straightforward, and this guide does not cover those systems.

It assumes you are running Tor as a service and have installed it and that it is listening on port 9050.

With torsocks

Torsocks is a wrapper which you use to run software you intend to do networking through your Tor socks proxy. It is simple to use, just follow the torsocks command with what you want to wrap.

$ torsocks ssh username@kaiwebbj7pdpxpoi.onion

This will connect you to KLOS with an SSH shell. A KLOS hosting account is a pretty good albeit restricted shell account.

You can use with other commands like rsync, sftp, scp, etc

This guide focuses on shell, but you can even torsocks a nice gui into existence.

KDE:

$ torsocks dolphin

Gnome:

$ torsocks nautilus

You should understand torsocks now.

With socat

Assuming you've installed socat one way or the other, you can have it listen on a normal TCP port and forward things through Tor. If you are just using the browser bundle socat is your friend. The example below assumes the browser bundle SOCKS port.

$ socat TCP4-LISTEN:10050,fork,reuseaddr,bind=127.0.0.1 \
SOCKS4A:localhost:kaiwebbj7pdpxpoi.onion:22,socksport=9150

Then you just connect to the socat listener on port 10050...

$ ssh -p 10050 username@localhost






2019 Kaizu Shibata, server time 7:06:01 23/04/19 UTC

Powered by Kaizu's picosite 0.09, nginx, PHP, and Gentoo!

Sponsor of Infantile