known_hosts file not being updated when using ssh -y

Mike R postergreenp at gmail.com
Thu Jul 18 23:59:53 AWST 2019


I am running dropbear client on openwrt.  I have an empty known_hosts file.


When I connect with the command line "ssh -y example at openssh.com", the new
server line is NOT added to the known_hosts file.   (If the file does not
exist before I start, then the file is created but the new server line is
NOT added.)

I would expect that -y would check the host entry if it exists, and
otherwise create a new host entry in known_hosts.  (This works if -y is not
used and no entry exists in the known_hosts file).

Am I misunderstanding, or is this a bug?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20190718/974654f2/attachment.htm 


More information about the Dropbear mailing list