Hi,

I followed the step on 
http://www.ssh.org/faq.html section 4.4
trying to set up hostbased authentications,

but, when I tried to connect from client to the server, 
I got:

Warning: Received error 3, message: "Couldn't read host key.".

The worst part is, now 
ssh server-host

doesn't work for me. Even though I entered the right passwd,
after 3 times asking for passwd, it gave me the following error:

No more authentication methods available.

Can someone tell me what's wrong?

Thanks a lot,

Lily

========= I have done the following ===========
1. ssh version 2.2.0
2. scp'ed client's /etc/ssh2/hostkey.pub
        to server /etc/ssh2/knownhosts/client.domain.ssh-dss.pub
3. both client and server's
        /etc/ssh2/ssh2_config
        
client:
                DefaultDomain  client.domain.name
server:
                DefaultDomain   server.domain.name
4. server user:
        created .shosts file
                client.domain.name  username
5. both server and client, /etc/ssh2/sshd2_config file
        has the line:
        AllowedAuthentications  hostbased,passwd,publickey

but sshd2 is not running, the /var/run/sshd2_22.pid
doesn't exist, the only step I didn't follow is the
kill -HUP `cat /var/run/sshd2_22.pid`

==========================================


Reply via email to