Rsync param parsing using --rsh broken? (was: no subject)
Wayne Davison
wayned at samba.org
Thu Sep 16 16:48:39 GMT 2004
On Thu, Sep 16, 2004 at 07:06:54AM -0700, Jim Gallagher wrote:
> $ rsync -v -v -v --recursive --rsh="ssh -i /home/ul081b/mpdm-keys/rsa-mpdm01mpdm at mpdm-w2k3" MPDM-W2K3::MPDM .
That line must have contained a space prior to the mpdm at mpdm-w2k3 part
or it wouldn't have failed as it did. That is specifying a
user+hostname to ssh, and rsync always supplies the hostname, so
obviously that conflicts. If you want to specify an ssh user when using
a daemon-over-ssh command, use the -l option to ssh:
rsync -vrt --rsh="ssh -i /home/ul081b/mpdm-keys/rsa-mpdm01 -l mpdm" mpdm-w2k3::MPDM .
..wayne..
More information about the rsync
mailing list