https://bugzilla.mindrot.org/show_bug.cgi?id=3529
Bug ID: 3529 Summary: `add_host_to_hostfile` should take into consideration that the known_hosts file isn't terminated with a newline character. Product: Portable OpenSSH Version: 9.1p1 Hardware: ix86 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-b...@mindrot.org Reporter: git+open...@limpsquid.nl If the known_hosts file isn't terminated with a newline character the `add_host_to_hostfile` appends the new host key to the last line which might already contain a valid host key. -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs