Show HN: Public SSH Jump and Port Forwarding Server https://ift.tt/3qWQK09
March 18, 2021
0
Show HN: Public SSH Jump and Port Forwarding Server I've made a neat service to access SSH over NAT. Unlike ngrok and alternatives with registration, custom software, non-preserved random URLs and ports, this solution is just a remote SSH server which does not require anything more than an SSH client to both host and connect. Technically it allows to publish any service over SSH (web, proxy, any TCP port really), but only with SSH as a destination you'll preserve end-to-end encryption and won't allow my server to snoop on potentially unencrypted traffic. The service is mostly intended to give remote access to the device as fast as possible, given it already has SSH client and server. To begin, just execute: ssh ssh-j.com Would be grateful for any feedback. ----- Looking for ways to expose SSH behind NAT? Search no further! Publish SSH server port of your laptop, which is behind NAT: ssh any-username@ssh-j.com -N -R laptop-behind-nat:22:localhost:22 ╭─╯ unique ╰─╮ │ device name ╭───╯ │destination│ │ namespace │ │ and port │ │address and│ │for your hosts│ ╰──────────────╯ │ port │ ╰──────────────╯ ╰───────────╯ Connect to the published SSH: ssh -J any-username@ssh-j.com laptop-behind-nat ↖ It's THAT easy! Published hosts are bound to the username. Other usernames can't access them. Pick a unique username (not root ) and get access to your devices anywhere! March 18, 2021 at 12:01PM
Tags