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.
More on Networking, SSH and remote access
A key belonging to a departed engineer may be in `authorized_keys` on 300 servers. How do you rotate SSH keys across the fleet?IntermediateYou need to reach a database on a private subnet from your laptop through a bastion. How?BeginnerYour security team wants SSH hardened on all servers. What changes do you make?BeginnerA new server needs a static IP, gateway and DNS on RHEL 9. How do you configure it persistently?BeginnerYou're changing the network config of a remote server over SSH and could lose access. How do you protect yourself?IntermediateA web server should accept HTTP/HTTPS from anywhere but SSH only from the office. Configure the firewall.Beginner