Re: Bizarre passwordless scp problem, help
- From: rsb-asp-google@xxxxxxxxxxxxx
- Date: 19 Jun 2006 13:09:02 -0700
Chuck wrote:
rsb-asp-google@xxxxxxxxxxxxx wrote:
If anybody can help me with this it would be appreciated.
I'm attempting to do scp to another machine via a script invoked by a
cronjob, therefore it must be passwordless. I have gen'd the id_rsa.pub
and copied it over to the receiving machine and here lies the rub...
After creating the .ssh/ directory in the homedir of the receiving
machine and cating the pub id to the .ssh/authorized_keys file
(creating it in the process), the scp still does not work passwordless.
I have followed the same procedure for another account on the receiving
machine and it works just fine.
Any ideas????
TIA
Steve Ellis.
Couple of things to check...
Did you cache the private key on the client with ssh-agent or keychain?
How would I know?
Are the .ssh directory and authorized_keys file in the correct user's
home directory on the server?
Yes according to /etc/passwd, but I get the feeling that that is not
where ssh is being looked for it.
Are the permissions on the authorized_keys file correct? Should be 600.
I did a chmod 600 and it didn't help.
BTW, the authorized_keys on the id that works isn't 600.
.
- Follow-Ups:
- Re: Bizarre passwordless scp problem, help
- From: Cezary Morga
- Re: Bizarre passwordless scp problem, help
- From: Chuck
- Re: Bizarre passwordless scp problem, help
- From: Dimitri Maziuk
- Re: Bizarre passwordless scp problem, help
- References:
- Bizarre passwordless scp problem, help
- From: rsb-asp-google
- Re: Bizarre passwordless scp problem, help
- From: Chuck
- Bizarre passwordless scp problem, help
- Prev by Date: Re: Bizarre passwordless scp problem, help
- Next by Date: Re: Bizarre passwordless scp problem, help
- Previous by thread: Re: Bizarre passwordless scp problem, help
- Next by thread: Re: Bizarre passwordless scp problem, help
- Index(es):
Relevant Pages
|
|