mån 2010-11-22 klockan 13:41 +0000 skrev Chris G: > I have an rdiff-backup that runs as a cron job, "crontab -l" shows:- > > 25 02 * * * /usr/local/bin/rdiff-backup /home/isbd > ch...@cheddar.halon.org.uk::backups/isbd > > > When run from the command line this works fine:- > > chris$ /usr/local/bin/rdiff-backup /home/isbd > ch...@cheddar.halon.org.uk::backups/isbd > /usr/local/lib/python2.6/dist-packages/rdiff_backup/SetConnections.py:148: > DeprecationWarning: os.popen2 is deprecated. Use the subprocess module. > stdin, stdout = os.popen2(remote_cmd) > Warning: Local version 1.2.8 does not match remote version 1.2.5. > > > But when run as a cron job (from my crontab) I get the following errors > (mailed to me):- > > /usr/local/lib/python2.6/dist-packages/rdiff_backup/SetConnections.py:148: > DeprecationWarning: os.popen2 is deprecated. Use the subprocess module. > stdin, stdout = os.popen2(remote_cmd) > Permission denied, please try again. > Permission denied, please try again. > Permission denied (publickey,password). > Fatal Error: Truncated header string (problem probably originated > remotely) > ...
When you are logged in interactively, how do you auth against ch...@cheddar.halon.org.uk? A ssh-key perhaps? If so, is the ssh-key protected by a passphrase? // Andreas
signature.asc
Description: Detta är en digitalt signerad meddelandedel
_______________________________________________ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki