Trailing dot is not removed from client hostname if HostbasedUsesNameFromPacketOnly is yes

Carson Gaspar carson at taltos.org
Sat Sep 13 17:19:44 EST 2003


If HostbasedUsesNameFromPacketOnly is set to yes, sshd does not remove 
the trailing dot from the client supplied hostname, causing sshd to 
attempt to look up "foo.example.com." (note trailing period) in 
known_hosts and .shosts instead of "foo.example.com"

Trivial patch attached.

-- 
Carson
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: auth2-hostbased.c.diff
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030913/797d8e45/attachment.ksh 


More information about the openssh-unix-dev mailing list