Quick and dirty OpenSSH configlet here. If you have a set of hosts or devices that require you to first jump through a bastion host, the following will allow you to run a single ssh
command:
::: highlight
Host *
ProxyCommand ssh -A
Change the Host *
line to best match the hostnames that require a bastion host.