[Bug 3529] New: `add_host_to_hostfile` should take into consideration that the known_hosts file isn't terminated with a newline character.
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jan 31 06:05:49 AEDT 2023
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-bugs at mindrot.org
Reporter: git+openssh at 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.
More information about the openssh-bugs
mailing list