$ ./guess_the_languageLinux CLI
Linux CLI · hard · #36

What does this command set up?

ssh -L 5433:localhost:5432 admin@db.example.com
  1. Local port 5433 forwarded to the DB
  2. Remote port 5433 exposed to you
  3. A SOCKS proxy listening on 5432
  4. A copy of the database to port 5433
-L listens on local port 5433 and tunnels it to localhost:5432 as seen from the remote host.
Play Linux CLI ▸