On 18/8/23 15:39, Darren Tucker wrote:
Host mytarget
Hostname 172.16.1.2
ProxyJump user2@bastion2
I think you just need "HostKeyAlias mytarget" here.
Ahh, in my scanning through the `ssh_config` manpage, I missed this, and
change logs seem to indicate this feature has been around since at least
2017, so should not cause compatibility issues with the other users.
No problems, I just tried it out, and already, things are a _lot_ more
sane. I'll give it a try more long-term and see how it fares.
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev