Host key verification (known_hosts) with ProxyJump/ProxyCommand

Stuart Longland VK4MSL me at vk4msl.com
Sat Aug 19 08:59:00 AEST 2023


On 19/8/23 08:00, Stuart Longland VK4MSL wrote:
> Would the UserKnownHostsFile be relative to the current working 
> directory of the `ssh` process at the time of its call, or would it 
> figure out that these files are relative to 
> /home/me/workplace/ops/eng-ssh/bigcust-config?

Nope… just tried it, at this time it's relative to whatever directory 
you call `ssh` from.

Which if everybody who used this directory kept it in the same place, 
wouldn't be a big issue… but since I'll bet everyone I'm working with 
keeps this repository in a different place, there is no "stable" path 
that will work for everyone.  Short of getting everyone to set an 
environment variable in ~/.profile, I can't configure this in a seamless 
manner.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
   ...it's backed up on a tape somewhere.



More information about the openssh-unix-dev mailing list