Interview Prep/Linux/Networking, SSH and remote access

A developer needs to access an internal web UI on a remote server that only listens on 127.0.0.1:3000. How?

BeginnerScenarioNetworking, SSH and remote access
Answer

Situation read → SSH local port forward to localhost on the remote side.

What I'd do →

ssh -L 3000:127.0.0.1:3000 dev@server01 -N
# then open http://localhost:3000 locally

Why → The service stays unexposed; access is only through authenticated SSH.

Interview tip → Mention -D 1080 (dynamic SOCKS proxy) when you need many internal services at once.

All Linux questions Roadmap: Linux

More on Networking, SSH and remote access