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