We've just gotten this to work.   The hostkey.pub file from the client side is
named:
/etc/ssh2/knownhosts/<long hostname>_ssh-dss.pub
We also have the long hostname in the .shosts file

Heikki Nousiainen wrote:

> Hi Hoang,
>
> The configuration you are trying to set up seems correct.
> Look up the syslog files for any error messages from SSHD to determine the
> exact cause of the problem. (/var/log/messages  or  sshd -v)
>
> Probably the most common cause for hostbased authentication to fail is the
> client sending only the hostname instead of fully qualified domain
> name, which is retrieved via DNS by the server, or vice versa.
>
> Regards,
> Heikki Nousiainen
>
> On Thu, 18 May 2000, Hoang c. Truong wrote:
> > Hello all,
> > I am trying to configure ssh2 so that I can use it without password manually
> > type.   I have done some research.   I followed these step but it didn't
> > work.   Can anyone help me?
> > 1) copy /etc/ssh2/hostkey.pub file from client machine to
> > /etc/ssh2/knownhosts/CLIENT_MACHINE_NAME.ssh-dss.pub on the server
> > 2) On the server, I created file .shosts in my home directory.  The file
> > contains something like this
> > client_machine_name testaccount
> > 3) I included the line
> > AllowedAuthentications hostbased,passwoed
> > in /etc/ssh2/sshd2_config on the server
> > 4) I stoped and restarted the sshd2 deamon.
> > my machine is pemtium III running redhat6.2
> >
> > Please HELP!!
> >
> > Thanks
> >
> > Hoang

--
Vicki Lonell Hain
Systems Programming - AIS
Unix Distributed Computing
UNC-Chapel Hill, NC 27588-1150
[EMAIL PROTECTED]
(919)966-1901
www.ais.unc.edu/info/sys/vlh.html


Reply via email to