Hello!

For hostbased authentication, auths-hostbased.c compares the hostname
given by the client (gethostname()) and the hostname given by
gethostbyaddr(). gethostname() returns only the short hostname while
gethostbyaddr() returns the fully qualified name. The comparison of both
fails. Therefore hostbased authentication will fail.

Bug?

Location:
file: sshunixtcp.c
function used by client: ssh_tcp_get_host_name()            - returns
hostname
function used by server: ssh_tcp_get_host_by_addr_sync()    - returns
hostname.domain
Version: 2.0.13
tested on linux and hpux


Sebastian

Reply via email to