Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

ssh -L vs ssh -R

This comparison card contrasts ssh -L and ssh -R. ssh -L is described as local port reaches remote target. ssh -R is described as remote port reaches you. The card pairs ssh -L with private DB, and ssh -R with share local app.

ssh -L vs ssh -R: Local port reaches remote target.; Remote port reaches you.
ssh -L vs ssh -R · Download PNG
Read card text

What this card says

Tunnel

ssh -L

Local port reaches remote target.

ssh -R

Remote port reaches you.

Key points

Needs SSH access out.

GatewayPorts rules apply.

Example

ssh -N -L 5433:db:5432 gw

Use when

Private DB.

Share local app.

See all AWS revision cards