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

Ravi Sir's Cards › AWS

ssh -L vs ssh -R

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

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