TIL: Use SSH ProxyJump
16 Jan 2018 Category: tilAn easy (and much nicer than using ProxyCommand and/or ForwardAgent) way to “proxy” or “jump” through a bastion host to a private host. In ~/.ssh/config
:
Host private_host
ProxyJump bastion_host
Or on the command line:
ssh -J bastion_host private_host