Host key verification (known_hosts) with ProxyJump/ProxyCommand

Darren Tucker dtucker at dtucker.net
Fri Aug 18 15:39:53 AEST 2023


On Fri, 18 Aug 2023 at 15:25, Stuart Longland VK4MSL <me at vk4msl.com> wrote:
[...]
> The crux of this is that we cannot assume the local IPv4 address is
> unique, since it's not (and in many cases, not even static).

If the IP address is not significant, you can tell ssh to not record
them ("CheckHostIP no").

[...]
> Host mytarget
>         Hostname 172.16.1.2
>         ProxyJump user2 at bastion2

I think you just need "HostKeyAlias mytarget" here.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list