Re: rsync with ssh problem
Quoting Brian Nelson <nelson@bignachos.com>:
Hi Brian,
I usually get that message when rsync isn't installed
on my "remote" computer.
Perhaps double check rsync is installed on both machines.
Using ssh with rsync is cool.
I usually setup a seperate key to go along with ssh and rsync.
The key created has no passphrase, and therefore you can
use ssh with rsync in a cronjob.
ex rsync command.
rsync -av -e 'ssh -i /home/user/.ssh/sshkey' hostname:/home/* /home/spot/
There's a web page to check out:
http://www.dhs.org/pipermail/systalk/2001-February/015392.html
HTH,
Mike
> I'm trying to run rsync over ssh with a command such as:
>
> $ rsync -v -e ssh some_file another_computer:.
>
> or any other permutation of the command, but I get the not-so-verbose
> error message:
>
> bash: rsync: command not found
> unexpected EOF in read_timeout
>
> Presumably, the command in question is ssh, since it doesn't show up
> if I use rsh. I've also tried 'export RSYNC_RSH="ssh"' and not using
> the -e option without success.
>
> I can ssh and use cvs with ssh to "another_computer" just fine.
>
> Any suggestions?
>
> ii rsync 2.4.6-1 fast remote file copy program
> (like rcp)
> ii ssh 2.9p2-6 Secure rlogin/rsh/rcp replacement
> (OpenSSH)
>
> --
> Brian Nelson <nelson@bignachos.com>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: