SSH (OpenSSH) 10 · Port forwarding

Expose a local service on the server

Make your local web server available on the server's port 8080.

ssh -R 8080:localhost:3000 [email protected]

Official SSH (OpenSSH) 10 documentation

More port forwarding commands

All port forwarding commands · SSH (OpenSSH) 10 cheatsheet

Was this page helpful?