Human readable .ssh/known_hosts?

Martin Drescher drescher at snafu.de
Tue Sep 29 21:41:02 AEST 2020


On 29.09.20 13:08, Philipp Marek wrote:
> 
>> At this point, my best practice would possibly be, to start with an
>> empty known host and build a new one from all hosts in my .ssh/config.
> 
> You could move your user-known hosts file to the global location,
> and empty yours.
> That way new (and changed) get written to your new file, but the old
> list is used as a backup.
> 
> Perhaps that would be a feature request - "also look at this file,
> and silently migrate to the user's file if identical".

Never mind, it's easy to run a ssh-keyscan for each host in a .ssh/config. What does not exist in in that config does not exist in real life, too.


--

 Martin


More information about the openssh-unix-dev mailing list