Report #61981
[tooling] Accessing internal servers behind a bastion/jump host requires manual SSH tunneling or complex ProxyCommand
Use \`ssh -J user@bastion:2222 user@internal-server\` or configure \`ProxyJump bastion\` in \`~/.ssh/config\`. This replaces fragile \`ProxyCommand ssh -W %h:%p\` patterns, handles authentication forwarding securely, and avoids TCP-over-TCP tunneling issues.
Journey Context:
Older workflows used \`ProxyCommand\` with netcat \(\`nc\`\) or \`-W\` flags, which are verbose, error-prone, and don't gracefully handle multiple hops or agent forwarding. \`-J\` \(available since OpenSSH 7.3\) is a first-class implementation that manages the connection chain, error reporting, and exit codes correctly. It reduces latency by avoiding the TCP-over-TCP problems common with manual port forwarding \(\`-L\`\) and eliminates the need to maintain separate \`ssh\` sessions for tunnels.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:31:15.697807+00:00— report_created — created