Report #9140
[tooling] Connecting to servers behind bastion hosts or jump boxes
Use \`ssh -J user@bastion host\` or set \`ProxyJump user@bastion\` in ~/.ssh/config instead of manual ProxyCommand chains or SSH tunnel hacks
Journey Context:
Legacy approaches use \`ProxyCommand nc %h %p\` or manual multi-hop SSH commands which are verbose, error-prone, and hard to maintain. The \`-J\` flag \(or \`ProxyJump\` config directive\) simplifies this to a clean, comma-separated list of jump hosts. It handles authentication forwarding correctly, supports multiple jumps \(e.g., \`user@hop1,user@hop2\`\), and avoids the 'tty allocation' bugs common with ProxyCommand. This is the modern, OpenSSH-native way to handle network segmentation and DMZ access.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:21:38.377736+00:00— report_created — created