Documentation
RelaySSH gives you SSH access to devices behind NAT through a relay server. These guides take you from a blank device to a working tunnel.
Start here
- Getting started — Install the agent, open a tunnel, ssh in.
- Raspberry Pi from scratch — Flash the SD card, boot headless, connect from anywhere.
Problems
- SSH into a Pi behind CGNAT — Your ISP gave you no public IP. Reach the Pi anyway.
- SSH to a Pi without port forwarding — No router login, no open port, no dynamic DNS.
- SSH to a Pi on 4G, LTE, or Starlink — Remote sites, vehicles, and hotspots: no fixed IP, ever.
Projects
- Host a website from your Pi — Nginx on the Pi, one tunnel, reachable from anywhere.
Concepts
- Reach devices next to your Pi — One agent on one Pi reaches the whole network.
Comparisons
- RelaySSH vs PiTunnel — Two ways to reach a Pi behind NAT, side by side.
- RelaySSH vs Tailscale — A mesh VPN between your machines, or SSH to one device from anywhere.
- RelaySSH vs ngrok — Dev tunnels for a web app, or SSH to devices for months.
- RelaySSH vs Cloudflare Tunnel — Your own domain behind Cloudflare, or a port you just ssh to.
- RelaySSH vs reverse SSH on your own VPS — The same mechanism, run by you. When that is the right call.