ProxyJump
conceptAn SSH feature that routes your connection through an intermediate server without giving that server access to your agent—the intermediate opens a TCP tunnel, and your client authenticates directly with the destination through it. The secure alternative to agent forwarding for multi-hop SSH.
On the command line:
ssh -J jumphost user@destination
Or in ~/.ssh/config:
Host destination
HostName 10.0.0.5
User admin
ProxyJump jumphost
How it works:
- SSH opens a connection to the jump host
- The jump host opens a TCP tunnel to the destination
- Your SSH client authenticates directly with the destination through the tunnel
- The jump host sees encrypted traffic—nothing else
The jump host never sees your key, never talks to your agent, cannot use your credentials. It is just a network relay.