Using ProxyCommand with OpenSSH and a Bastion server.
So at work we have to use a bastion host for all our connections to servers to be able to get called PCI compliant. This kind of stuff could be a pain to use when you have to use another host to do RSYNC/SCP or other stuff that need direct transfer to workstation. Thankfully OpenSSH is very flexible and have multiple options to easy the pain. If you add this to your ~/.ssh/config : ...