NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56731: new ssh does not read .ssh/known_hosts*



The following reply was made to PR bin/56731; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/56731: new ssh does not read .ssh/known_hosts*
Date: Sat, 26 Feb 2022 13:21:48 +0100

 Closer examination shows this was totaly wrong - it is not ED25519 host keys
 that are a problem, but that the new ssh does not read ~/.ssh/known_hosts*
 at all, because the path is broken during tilde expansion:
 
 debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/martin/ssh/known_hosts'
 
 (note "/ssh/" instead of "/.ssh/")
 
 ... and so all hosts in /etc/ssh/known_hosts work fine, while the ones only
 recorded in the user file fail verification.
 
 Martin
 


Home | Main Index | Thread Index | Old Index