Report #79413
[tooling] SSH to internal hosts requires complex ProxyCommand configuration or manual bastion hopping
Use \`ssh -J user@bastion:port user@target\` \(ProxyJump\) in command line or \`ProxyJump host\` in ssh\_config for clean bastion traversal without netcat wrappers or agent forwarding to the jump host
Journey Context:
Legacy approaches used \`ProxyCommand nc %h %p\` or worse, SSH agent forwarding to the bastion \(which exposes agent to the jump host\). ProxyJump \(\`-J\`\) introduced in OpenSSH 7.3 creates a secure channel through the bastion using the -W flag internally, without exposing the agent or requiring netcat on the target. It handles authentication correctly, allowing the bastion to merely forward traffic without terminating the session. This eliminates the security risk of agent forwarding and the fragility of ProxyCommand nc variations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:53:31.280910+00:00— report_created — created