Tips & Tricks: SSH Passthrough
SSH Passthrough
Quick Reference Need to connect to a private host behind a jump host? Here are a couple of quick approaches:
1. Use the -J (ProxyJump) Option
ssh -J user@jump-host user@internal-host
This passes your SSH session through jump-host to reach internal-host without extra config files. 2. Utilize SSH Agent Forwarding
ssh -A user@jump-host
Now from jump-host:
ssh user@internal-host
With -A, your SSH keys stay local, but are “forwarded” through jump-host to authenticate on internal-host.