On Thu, Jun 03, 2004 at 09:58:40PM +0200, [EMAIL PROTECTED] wrote:
> rsync -e scriptname (content of script)
> in scripts
> ssh -i ~/.ssh/id_rsa /home/mysql host:/usr/src

This is very hard to decypher, but it looks like you may have put rsync
options in your ssh script.  Also, don't use '~' -- it might not be
expanded (it depends on your shell and the quoting).  Try this command
(subsitite USER as appropriate):

rsync -e 'ssh -i /home/USER/.ssh/id_rsa' /home/mysql host:/usr/src

or try this:

rsync -e myssh /home/mysql host:/usr/src

and put this in myssh:

#!/bin/sh
ssh -i /home/USER/.ssh/id_rsa "[EMAIL PROTECTED]"

If that doesn't work, you should be checking for ssh errors.

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to