Report #49019
[tooling] SSH through a bastion/jump host requires multiple manual hops or complex ProxyCommand configuration
Use \`ssh -J user@bastion:port user@target\` \(or multiple jumps \`user@j1,user@j2\`\) to proxy through bastion hosts cleanly, replacing \`ProxyCommand ssh -W %h:%p bastion\`.
Journey Context:
\`-J\` is a modern shorthand for ProxyJump, handling stdio forwarding internally. It correctly forwards agent authentication and X11 without complex configuration. Multiple jumps are supported with comma separation. Unlike manual \`ssh bastion\` then \`ssh target\`, \`-J\` works seamlessly with \`scp\`, \`sftp\`, and \`rsync -e ssh\`. Common mistake: using \`ProxyCommand\` with nc or manual SSH double-hops which break agent forwarding and require complex shell aliases.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:45:22.909045+00:00— report_created — created