Re: Not in authorized_keys, but can log in with id_rsa

From: fred ma (fma_at_doe.carleton.ca)
Date: 12/13/04

  • Next message: fred ma: "Re: Not in authorized_keys, but can log in with id_rsa"
    Date: 13 Dec 2004 03:43:24 GMT
    
    

    Bill Unruh wrote:
    > fred ma <fma@doe.carleton.ca> writes:
    >
    >
    >>Richard E. Silverman wrote:
    >>
    >>>>>>>>"FM" == fred ma <fma@doe.carleton.ca> writes:
    >>>
    >>>
    >>> FM> When I ssh to a remote host, I am asked for the passphrase for key
    >>> FM> '/home/fma/.ssh/id_rsa'. When I provide it, I get connected. My
    >>> FM> (admittedly imperfect) understanding of the ssh man page is that
    >>> FM> this happens if local host's id_rsa.pub is in the known_hosts file
    >>> FM> of the remote host. This is not the case. Thanks if anyone can
    >>> FM> point out what I'm missing about the authentication procedure.
    >>>
    >>>No; it happens if *your* per-user public key (~/.ssh/id_rsa.pub) is in the
    >>>authorized_keys file of the remote account.
    >
    >
    >>Sorry, that's what I meant. I'm getting my known_hosts and authorized_keys
    >>mixed up. My per-user public key is *not* in the authorized_keys file of
    >>the remote host. Here, my per-user public key is ~/.ssh/id_rsa.pub, and
    >>that key is not in the remote host file ~/.ssh/authorized_keys. However, I
    >>am still asked for the passphrase for id_rsa.pub when ssh'ing to the remote
    >>host, and I get let in if I supply it. That's what I'm confused about. I
    >>wonder if there is another circumstance that would allow that to happen, one
    >>which might be described in the man page, but which someone might not
    >>recognize if they didn't already know about how it works.
    >
    > What you are probably asked for is your password on the remote host, and
    > you use the same password all over the place.

    Actually, I did not. But I think the problem wasn't real. I must have been
    wonked at the time, because I can't duplicate the problem after a day, coming
    back with fresh neurons. But thanks for your troubleshooting speculations.

    Fred


  • Next message: fred ma: "Re: Not in authorized_keys, but can log in with id_rsa"
  • Quantcast