SSH (OpenSSH) 10 · ~/.ssh/config
Configure a jump host
Always reach a private server through the bastion.
Host internal
HostName 10.0.0.5
User deploy
ProxyJump bastion
Host bastion
HostName bastion.example.com
User deploy
Official SSH (OpenSSH) 10 documentation