[Bug 3529] `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
Sat Feb 4 18:10:25 AEDT 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3529

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
   Attachment #3655|                            |ok?(djm at mindrot.org)
              Flags|                            |

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3655
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3655&action=edit
Check for newline at end of known_hosts and add it missing

Please try this patch.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list