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

Carson Gaspar carson at
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 "" (note trailing period) in 
known_hosts and .shosts instead of ""

Trivial patch attached.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: auth2-hostbased.c.diff

More information about the openssh-unix-dev mailing list