To expose SSH over Tor from a remote box run this command on it:
docker run --detach --restart always --network host --volume $PWD/tor:/var/lib/tor ghcr.io/altermarkive/ssh-over-tor:latest
The file $PWD/tor/service/hostname
will then contain the remote address and remote secret to be used to connect to this box.
To connect to the remote box use this command:
docker run --rm -it --env ADDRESS=$REMOTE_ADDRESS --env USER=$REMOTE_USER --volume $HOME/.ssh:/root/.ssh ghcr.io/altermarkive/ssh-over-tor:latest