kool_newt, 11 months ago I think -J is newer and may not work if you have distro versions older than like 5 years (eg. Centos 7 or before). There is a less convenient syntax that does the same thing though $ ssh -o ProxyCommand=“ssh -W %h:%p bastion-host” remote-host See: www.redhat.com/…/ssh-proxy-bastion-proxyjump
I think -J is newer and may not work if you have distro versions older than like 5 years (eg. Centos 7 or before). There is a less convenient syntax that does the same thing though
$ ssh -o ProxyCommand=“ssh -W %h:%p bastion-host” remote-host
See: www.redhat.com/…/ssh-proxy-bastion-proxyjump