OpenSSH 3.4p1 hostbased authentication

Sreedhar_Baddigam sridharb at satyam.com
Thu Feb 27 08:12:57 EST 2003


Hi,

We want to use Hostbased Authentication in OpenSSH 3.4p1 completely based on
rhosts or shosts. Don't want to have any keys exchange between server and
client.

Created /etc/ssh/sshd_config on OpenSSH server with:
RhostsAuthentication yes
IgnoreRhosts no
HostbasedAuthentication yes

Created /etc/ssh/ssh_config on client with:
Host *
  HostbasedAuthentication yes

Created /etc/rhosts.equiv, /etc/shosts.equiv, /etc/ssh/shosts.equiv on
server with:
<client hostname>

Hostbased authentication is failing giving the following message on client
side:

debug1: authentications that can continue:
publickey,password,keyboard-interactive,hostbased
debug1: next auth method to try is hostbased
get_socket_ipaddr: getnameinfo 8 failed
userauth_hostbased: cannot get local ipaddr/name
debug1: next auth method to try is password
root at server01's password: 

What special settings are to be done to make it work? Please help.

thanks and regards,
Sreedhar.

************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030227/305b1db1/attachment.html 


More information about the openssh-unix-dev mailing list