Page MenuHomeFreeBSD

ssh: canonicize the host name before looking it up in the host file
ClosedPublic

Authored by vangyzen on Jul 15 2015, 8:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 25, 9:04 AM
Unknown Object (File)
Mon, Jun 3, 8:29 PM
Unknown Object (File)
May 15 2024, 7:11 PM
Unknown Object (File)
May 1 2024, 12:44 PM
Unknown Object (File)
Apr 30 2024, 6:32 PM
Unknown Object (File)
Apr 26 2024, 6:07 AM
Unknown Object (File)
Apr 21 2024, 2:06 AM
Unknown Object (File)
Jan 2 2024, 8:06 PM
Subscribers

Details

Summary

Re-apply r99054 by des in 2002. This was accidentally dropped
by the update to OpenSSH 6.5p1 (r261320).

This change is actually taken from r387082 of
ports/security/openssh-portable/files/patch-ssh.c

PR: 198043
Reviewed by: des
Approved by: kib (mentor)
Sponsored by: Dell Inc.
MFC after: 3 days

Test Plan

Before:

rm ~/.ssh/known_hosts
ssh box.example.com
<add key to known_hosts>
ssh box
<ssh asks to very host key>

After:

rm ~/.ssh/known_hosts
ssh box.example.com
<add key to known_hosts>
ssh box
<host key is already in known_hosts>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vangyzen retitled this revision from to ssh: canonicize the host name before looking it up in the host file.
vangyzen updated this object.
vangyzen edited the test plan for this revision. (Show Details)
vangyzen added a reviewer: des.
vangyzen added a subscriber: kib.
des edited edge metadata.
This revision is now accepted and ready to land.Jul 16 2015, 5:20 PM
This revision was automatically updated to reflect the committed changes.