On Sunday 29 May 2005 16:53, Boyd Stephen Smith Jr. wrote:
> I never use rsync myself, but why not just use --rsh="ssh 'su -'" instead
> of --rsh="ssh"?
It'd have to be "ssh 'sudo su -'", but that doesn't work:
# rsync --verbose --checksum --archive --partial --progress --rsh="ssh 'sudo 
su -'" [EMAIL PROTECTED]:/var/ ./var/
ssh: 'sudo: Name or service not known
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)

Thanks.
-- 
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar

Attachment: pgpDbhpQhl55y.pgp
Description: PGP signature

Reply via email to