[prev in list] [next in list] [prev in thread] [next in thread] 

List:       secure-shell
Subject:    Re: RSA and DSA authentication
From:       Dusty Culler <dustyculler () yahoo ! com>
Date:       2004-02-17 22:05:29
Message-ID: 20040217220529.87867.qmail () web10401 ! mail ! yahoo ! com
[Download RAW message or body]


--- "Foo, Randy" <randy.foo@hp.com> 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.

Dusty

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic