ngrok tcp 22

Category: Local Network & Public Hosting

ngrok tcp 22

Expose a local TCP port with a public ngrok address

This opens a public TCP endpoint on ngrok's infrastructure and forwards it to port 22 on this machine, giving the local SSH server an internet-reachable address. ngrok prints the public host and port, which stay valid while the process runs. Exposing SSH publicly invites brute-force attacks, so add strong authentication or an IP allowlist.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.