ssh -> .onion #linuxstr

Reply to this note

Please Login to reply.

Discussion

🧅 make me icky

https://martianlantern. github .io/2025/10/ssh-over-tor/ https://docs. start9 .com/0.3.5.x/misc-guides/ssh-tor.html

server side

apt install tor

nano /etc/tor/torrc

HiddenServiceDir /var/lib/tor/ssh_service

HiddenServiceVersion 3

HiddenServicePort 22 127.0.0.1:22

tor -f /etc/tor/torrc

tail /var/lib/tor/ssh_service/hostname - copy onion url

client side

apt install tor torsocks

torsocks ssh user@gausdsadsadwewqewqe5o2epjozabdjwmexxl2vdpvbtbkdqjsbrphskyqd.onion

type "yes"

assuming openssh is already install in most hosts using latest debian ubuntu