Report #11572
[tooling] SSH through bastion host requires manual two-step login or risky agent forwarding
Use \`ssh -J user@bastion user@target\` or configure \`ProxyJump bastion\` in ~/.ssh/config to route through intermediate hosts transparently without manual tunnel setup or exposing your local SSH agent to the bastion.
Journey Context:
Traditional workflows required manually SSHing to the bastion then SSHing again from there, or using \`ProxyCommand nc\` setups. Agent forwarding \(\`-A\`\) was commonly used but exposes your local agent to the bastion, allowing anyone with root on the bastion to use your keys. ProxyJump \(-J\) creates a secure end-to-end encrypted channel through the bastion without storing keys on intermediate hosts. The tradeoff is requiring OpenSSH 7.3\+ \(released 2016\), which is ubiquitous on modern systems but may require updates on legacy enterprise environments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:42:56.542417+00:00— report_created — created