Ravi Sir's Cards › AWS
-L vs -R?
This interview card answers: -L vs -R? -L: local port to remote target. -R: remote port back to you. Local tunnel.
Read card text
What this card says
What it is
-L: local port to remote target.
Why it matters
-R: remote port back to you.
How / example
Local tunnel.
ssh -N -L 5433:db:5432 bastion