SSH (OpenSSH) 10 · Port forwarding

Reach a remote service locally

Make a remote database available at localhost:5433, through the server.

ssh -L 5433:localhost:5432 [email protected]

Official SSH (OpenSSH) 10 documentation

More port forwarding commands

All port forwarding commands · SSH (OpenSSH) 10 cheatsheet

Was this page helpful?