scp works on command line, fails in cron
tonij67_at_hotmail.com
Date: 12/28/04
- Next message: Richard E. Silverman: "Re: Unable to establish remote SSH connection from XP machine"
- Previous message: tonij67_at_hotmail.com: "TEST2"
- Next in thread: Richard E. Silverman: "Re: scp works on command line, fails in cron"
- Reply: Richard E. Silverman: "Re: scp works on command line, fails in cron"
- Reply: Chuck: "Re: scp works on command line, fails in cron"
- Reply: Frank_Hamersley: "Re: scp works on command line, fails in cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 Dec 2004 06:58:18 -0800
Hi all,
I am a bit baffled here. I have set up public/private key
authentication many times and have not had the sort of problem I am
having now.
I am testing a script that will be the framework for more complicated
tasks and the first test I want to run is a simple scp from one server
to another. I am starting very simple, no passphrase (yet) and am
already running into a wall. When I run this command:
/usr/local/bin/scp /tmp/2 10.46.0.102:/utils/backup
It copies the file /tmp/2 to /utils/backup on 10.46.0.102 with no
issue. When I try to do the same thing from cron, I get an email from
cron with this:
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
lost connection
Any ideas why authentication works fine from the command line, but
gives the above error in cron?
- Next message: Richard E. Silverman: "Re: Unable to establish remote SSH connection from XP machine"
- Previous message: tonij67_at_hotmail.com: "TEST2"
- Next in thread: Richard E. Silverman: "Re: scp works on command line, fails in cron"
- Reply: Richard E. Silverman: "Re: scp works on command line, fails in cron"
- Reply: Chuck: "Re: scp works on command line, fails in cron"
- Reply: Frank_Hamersley: "Re: scp works on command line, fails in cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|