SSH (OpenSSH) 10 · Port forwarding
Run a tunnel in the background
Forward a port without opening a shell. -N means no command, -f means go to the background.
ssh -fN -L 5433:localhost:5432 [email protected]
Official SSH (OpenSSH) 10 documentation
SSH (OpenSSH) 10 · Port forwarding
Forward a port without opening a shell. -N means no command, -f means go to the background.
ssh -fN -L 5433:localhost:5432 [email protected]
Official SSH (OpenSSH) 10 documentation
Was this page helpful?