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
F156964655: D3103.id6980.diff
Sun, May 17, 4:39 PM
F156964645: D3103.id6980.diff
Sun, May 17, 4:39 PM
Unknown Object (File)
Mon, May 11, 1:54 PM
Unknown Object (File)
Wed, May 6, 11:29 PM
Unknown Object (File)
Wed, May 6, 9:41 PM
Unknown Object (File)
Sun, May 3, 6:00 PM
Unknown Object (File)
Sun, May 3, 8:31 AM
Unknown Object (File)
Tue, Apr 28, 11:36 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.