Re: [OT] Remote SSH (dynamic IP) without third-party server
Hi.
On Fri, Jul 31, 2020 at 11:03:07PM -0300, riveravaldez wrote:
> If there's any other simpler way (that doesn't imply the use of any
> third party) please let me know, I could use anything that works.
Install tor and ncat on both hosts, enable ssh hidden service on at
least one of them:
mkdir /var/lib/tor/ssh
service tor restart
cat /var/lib/tor/ssh/hostname
Use ssh client to connect to your unique tor address:
ssh -o ProxyCommand "ncat --proxy 127.0.0.1:9050 --proxy-type socks5 %h %p" <your_onion_name_here>
Whenever your hosts are directly accessible from the Internet, or are
behind NAT is not relevant.
Reco
Reply to: