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
F168118719: D3103.id.diff
Wed, Aug 26, 11:33 AM
Unknown Object (File)
Tue, Aug 25, 9:41 PM
Unknown Object (File)
Tue, Aug 25, 2:44 AM
Unknown Object (File)
Mon, Aug 24, 6:23 AM
Unknown Object (File)
Sun, Aug 23, 2:49 PM
Unknown Object (File)
Sun, Aug 23, 2:48 PM
Unknown Object (File)
Sun, Aug 23, 11:40 AM
Unknown Object (File)
Thu, Aug 20, 7:01 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.