Re: scp from cron fails
From: S Beam (sbeam_at_onsetSPAMBAITcorps.net)
Date: 12/17/04
- Previous message: rama: "Stripped openssh"
- In reply to: Doug O'Leary: "Re: scp from cron fails"
- Next in thread: Darren Tucker: "Re: scp from cron fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 17 Dec 2004 09:17:03 -0500
Doug O'Leary wrote:
> What you need to do is set up an alternate identity using null-
> passphrased keys.
>
> cd ~/.ssh
> ssh-keygen -t dsa -f ego -P ""
> // Distribute the keys as you normally do:
>
> In your cron script:
>
> scp -i ~/.ssh/ego ${rest_o_command}
>
> I just saw that you tried a null-passphrased key. Ensure you set
> them up as an alternate identity and that you use the -i option
> to specify which identity to use.
>
Ahh, sweet success! I never even saw anything about the -i flag in all the
reading I did. Glad it's there, now I can have my passphrase and eat it
too. Thanks!
-- # S Beam # Web App Dev Servs # http://www.onsetcorps.net/
- Previous message: rama: "Stripped openssh"
- In reply to: Doug O'Leary: "Re: scp from cron fails"
- Next in thread: Darren Tucker: "Re: scp from cron fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]