Hi Petteri
I thought of adding a key for localhost, but because my home
directory is shared across a network of 10 computers, it will only work
for one computer and not for the others. Anoter thing that struck as
strange is that is doens't ask to add the key to the key ring.
Paolo
On Thu, 2 Sep 1999, Petteri Jantti wrote:
> Date: Thu, 2 Sep 1999 10:03:58 +0100 (BST)
> From: Petteri Jantti <[EMAIL PROTECTED]>
> To: Paolo Supino <[EMAIL PROTECTED]>
> Subject: Re: ssh to localhost without password.
>
> On Thu, 2 Sep 1999, Paolo Supino wrote:
>
> >
> >
> > Hi
> >
> > I have an application that needs to rsh to the localhost. I'm trying
> > to use ssh instead, but when ever I 'ssh localhost' I'm prompted to enter
> > a password. I use ssh-1.2.26/7 with shosts.equiv and RSA. Here is the log
> > that ssh generates with the '-v' option:
> >
>
> [snip]
>
>
> > klein.schema.co.il: Trying rhosts or /etc/hosts.equiv with RSA host
> > authentication.
> > klein.schema.co.il: Remote: Accepted for localhost [127.0.0.1] by
> > /etc/shosts.equiv.
> > klein.schema.co.il: Remote: Your host key cannot be verified: unknown or
> > invalid host key.
> ^
> |
> There --
>
> > klein.schema.co.il: Remote: The host name used to check the key was
> > 'localhost'.
> > klein.schema.co.il: Remote: Try logging back from the server machine with
> > the canonical host name using ssh, and then try again.
>
> Have you added the key of the host to its own known hosts (since you're
> ssh'ing back to itself) ?
>
> -Petteri
>
>