Stop jumping through middleman servers like it’s the nineties
SSH & Remote Administration
Stop jumping through middleman servers like it’s the nineties
🧩 The Challenge
Dealing with a jump box to reach an isolated database server is a daily grind that usually ends with me manually proxying ports or just getting annoyed at the connection chain. Nobody wants to deal with multi-stage authentication while they’re just trying to debug a live issue.
💡 The Fix
Use ProxyJump in your ssh config to have the client handle the heavy lifting for you automatically. It treats the middleman as a transparent tunnel and keeps your local sanity intact.
Host db-prod
HostName 10.0.5.20
ProxyJump user@bastion-host
User dbadmin
⚙️ Why It Works
This approach instructs your local SSH client to establish a connection to the bastion first and then tunnel the traffic directly to the target machine without you typing redundant passwords. It creates a seamless bridge that makes the remote server feel like it’s right on your subnet.
🚀 Pro-Tip: Add your SSH key to the local agent, and you won’t even have to re-enter a passphrase for the jump host.
Linux Tips & Tricks | © ngelinux.com | 9/4/2026
