[GTALUG] for multi-hop ssh/scp: option "ProxyJump"
Scott Sullivan
scott at revident.net
Sat Aug 29 18:50:45 EDT 2020
On 8/29/20 6:31 PM, Scott Sullivan via talk wrote:
> FYI, the ProxyJump directive was only introduces in OpenSSH version 7.3.
> As we had a lot of legacy RHEL/CentOS 6 systems, which were not yet on
> that version, we had to use the older pattern of ProxyCommand and NetCat
> (nc).
While I was looking for that version number, I actually pulled up a more
generalized version that uses only SSH, no netcat required.
Host remote-host
ProxyCommand ssh bastion-host -W %h:%p
From this 2019 redhat article.
https://www.redhat.com/sysadmin/ssh-proxy-bastion-proxyjump
--
Scott Sullivan
More information about the talk
mailing list