Re: ssh key authentication problems from cygwin to solaris

From: Torleiv Flatebo Ringer (ringert_at_consumption.net)
Date: 07/29/03

  • Next message: Kyler Laird: "Re: HTTP via SSH"
    Date: Tue, 29 Jul 2003 13:28:54 -0700
    
    

    what you said

    >
    > All the statements that X "does not work" do not give any information with
    > which we could help you.
    >
    > http://www.snailbook.com/faq/general-debugging.auto.html
    >
    > >>>>> "TFR" == Torleiv Flatebo Ringer <ringert@consumption.net> writes:
    >
    > TFR> But wait, there is a twist! This all used to work! Last week, one
    > TFR> of the sysadmins changed my UID on me on ernie. All of the the
    > TFR> sudden RSA from bert to ernie stopped working, but would work
    > TFR> from bert to maria. Then he changed my UID back.
    >
    > If your uid changed, then the ownership on all your files would be wrong
    > until they were changed as well, and that would certainly stop public-key
    > authentication from working.
    >
    >

    Thank you for that link, it helped me to solve my problem, which was
    that my home directory was group writable on the server that was
    not accepting the RSA key.

    The pertinent error message was (only on the server side):

    "Authentication refused: bad ownership or modes for directory"

    This message was only available after I ran sshd with the debug flag. It turns
    out that after my UID was changed back, my directory was set to be group
    writable for some reason, and I was the only one having this problem.

    Torleiv Ringer

    -- 
    if you're not part of the future then get outta the way
    

  • Next message: Kyler Laird: "Re: HTTP via SSH"