Use this tool to deploy an SSH service and make it accessible through Tor.
Install docker and docker-compose:
apt install docker.io docker-compose -yOptional step - set SSH credentials (darkshell will use default ones if you omit this step):
export DARKSHELL_USER="scrubbed"
export DARKSHELL_PASS="scrubbed"Build and run darkshell:
docker-compose -f ./devops/docker-compose.yml build
docker-compose -f ./devops/docker-compose.yml up --detachOnce the server starts, you should see the onion hostname printed in the logs.
Note: you can use the following command for reading the logs:
docker logs darkshellYou might need to wait a few minutes before darkshell becomes reachable.
Install tor and ncat:
apt update
apt install tor ncat -yStart the Tor service:
systemctl start torAdd the following statement with the hostname to your local SSH config (~/.ssh/config):
# Media host as Tor hidden service
host hidden
hostname <your_onion_hostname>
Compression yes
Protocol 2
PreferredAuthentications password
proxyCommand ncat --proxy 127.0.0.1:9050 --proxy-type socks5 %h %pAccess the service via Tor using the password hexenbucht:
ssh hexenbucht@hidden