I haven't tried this out yet (but hopefully will today), but I think the .shosts
file needs to be in the home directory of testaccount.   (or maybe you've got it
there already?)
     In copying over the hostkey.pub file to ../knownhosts, are you putting the
fully qualified hostname in caps?   Also, from the directions I've got, you've
got a "." where you need an underscore (right before ssh-dss):
     /etc/ssh2/knownhosts/optimus_ssh-dss.pub    ---where optimus is the long
hostname.

"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




Reply via email to