Re: scp works on command line, fails in cron
tonij67_at_hotmail.com
Date: 12/28/04
- Next message: Frank_Hamersley: "Re: scp works on command line, fails in cron"
- Previous message: Chuck: "Re: scp works on command line, fails in cron"
- In reply to: Chuck: "Re: scp works on command line, fails in cron"
- Next in thread: Frank_Hamersley: "Re: scp works on command line, fails in cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 Dec 2004 14:31:25 -0800
> 1) Is the cron script connecting to the same server? If not, the
server
> it's connecting to probably doesn't have the public key in the
> authorized_keys file
Yes. In fact, if I do
crontab -l
...and cut and paste the command from the output, the copy works fine.
It *only* fails when run from cron.
> 2) Is the cron script using the same identity file? (i.e are you
using
> the -i option and if so is the file name the same)
See above. Running the script from the command line works, when cron
runs it, it fails.
This is the wierdest authentication problem I have ever seen.
>
> - --
> To reply by email remove "_nospam"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFB0dfAzIf+rZpn0oQRAgQmAKCde2bzizDpyY6B7XJOnwuQgIAJZgCdHohw
> YCFOKsD0hFlFviOel1eV/5I=
> =/KUG
> -----END PGP SIGNATURE-----
- Next message: Frank_Hamersley: "Re: scp works on command line, fails in cron"
- Previous message: Chuck: "Re: scp works on command line, fails in cron"
- In reply to: Chuck: "Re: scp works on command line, fails in cron"
- Next in thread: Frank_Hamersley: "Re: scp works on command line, fails in cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|