Hmm...I just started using rsync but my cron job commands look MUCH
different than yours.  Did you create a public/private key (using
ssh-keygen2 -P) with no password and move it to both machines?  You'll also
need to go into the /.ssh2 dir and create an authorization (public keys
authorized to connect) and identification (private key of server).  Here's a
sample of my cron job:

0 * * * * /usr/local/bin/rsync -vaxuz --progress --stats --delete
--rsh=/usr/local/bin/ssh server1:/share/* /share/

This command explicitly states what shell to use instead of rsh.  Hope it
helps with SOME of those errors.


--- MIcah


-----Original Message-----
From: Shobhit Kapoor [mailto:[EMAIL PROTECTED]]
Sent: Thu, Dec 07, 2000 14:47
To: [EMAIL PROTECTED]
Subject: problem with rsync over ssh2


I am trying to use rsync over ssh2 via cron.

0,15,30,45 * * * * /export/home/admin/sync 2>&1 > /dev/null

The authentication is done via a .shosts file.
If I run it on the command line it seems to work fine but I get this message
when I run it through cron.It used to work well with ssh1,after upgrading to
ssh2 this broke.

Please help,
thanks,Shobhit

Error :
You have no controlling terminal.Can't initialize readline for
confirmations.
Couldn't exec 'ssh-signer2' (System error message: No such file or
directory)FATAL: Executing ssh-signer failed.
You have no controlling tty and no DISPLAY.  Cannot read passphrase.
warning: Authentication failed.
Disconnected; authentication cancelled by user (Authentication cancelled by
user.).
unexpected EOF in read_timeout
You have no controlling terminal.Can't initialize readline for
confirmations.
Couldn't exec 'ssh-signer2' (System error message: No such file or
directory)FATAL: Executing ssh-signer failed.
You have no controlling tty and no DISPLAY.  Cannot read passphrase.
warning: Authentication failed.
Disconnected; authentication cancelled by user (Authentication cancelled by
user.).
unexpected EOF in read_timeout
/export/home/admin/sync: b/pub: not found




Reply via email to