Hi!

"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

is it world-readable?


> 2) On the server, I created file .shosts in my home directory.  The file
> contains something like this
> client_machine_name testaccount

try putting the client's name in /etc/shosts.equiv

> 3) I included the line
> AllowedAuthentications hostbased,passwoed
                                         ^^^ sp


make sure the client uses FQDN format as hostname (type hostname). If
you only get the short nickname, hostbased authentication won't work.
If this is your problem, there are several solutions to the problem. I
prefer to patch the client. If you want the patch, send me an E-Mail.

Sebastian

Reply via email to