Yes, it's a bug, and there's a patch for it. Even patched, I was never
able to get hostbased to work properly. It would always hang until a
keypress, then it would tell me that the connection was lost. I'll wait
'til the next release and try again...
--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638
On Tue, 18 Jan 2000, Sebastian Zimmermann wrote:
> 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
>