Re: RSA and DSA authentication

From: Dusty Culler (
Date: 02/17/04

  • Next message: Rickerby, Nathan J: "RE: Verifying the host fingerprint"
    Date: Tue, 17 Feb 2004 14:05:29 -0800 (PST)
    To: "Foo, Randy" <>

    --- "Foo, Randy" <> wrote:
    > Dusty,
    > I am having a very similar problem to the one you
    > were (are still?)
    > having. Did you find a solution? If so maybe you
    > can share it with me.
    > I'm trying to run ssh from a clearcase make via a
    > script, and run into
    > authentication issues.
    > Thanks,
    > Randy Foo

    Hi Randy,

    Several people suggested checking the permissions to
    the /home/user/.ssh directory and the
    /home/user/.ssh/authorized_keys file. (Thanks if your
    reading this)

    As suggested I set the permissions for the .ssh
    directory to 700 and set the permissions for the
    authorized_keys file to 600 and made sure the owner
    and group were set to my username for both and it
    fixed the problem I was having.

    My problem was that I was creating the .ssh directory
    myself and not letting ssh-keygen do the work so the
    permissions were wrong there and I hadn't set the
    correct permissions for the authorized_keys file.

    I've got it running from the crontab right now and
    it's been working great.

    I hope this solves your problem as well.


    Do you Yahoo!?
    Yahoo! Finance: Get your refund fast by filing online.

  • Next message: Rickerby, Nathan J: "RE: Verifying the host fingerprint"

    Relevant Pages

    • file permission problem on Cygwin
      ... I could login to my remote machine without ... ssh now complains that I have "too open" file ... Permissions 0644 for '/my/home/.ssh/id_rsa' are too open. ... This private key will be ignored. ...
    • Re: setting up keys
      ... The error message before the password prompt ('Warning: ... permissions issue. ... If you can see the file but ssh still doesn't seem to see it, ...
    • Re: SSH: Permission denied (publickey, password, keyboard-interactive)
      ... Speaking with our security group, they explained me that like ssh ... 2.- Any active terminal is owned by the associated user and by the tty ... ans has an 620 permissions. ...
    • [totally fixed] Re: Verizon DSL (pppoeconf, WinXp, netgear rt311 dont work)
      ... It finally occurred to me to check the permissions on ... > Verizon called me at around 10pm last night to tell ... my router now gets an IP address and ... >> Protect your identity with Yahoo! ...
    • RE: write permissions for IIS
      ... I found free and pay solutions for this, ... > Subject: write permissions for IIS ... > given write permissions to a directorz that is readable from the web. ... Do You Yahoo!? ...