How to use --rsh with multiple sub-arguments?

"c.buhtz--- via rsync" <[email protected]>
Newsgroups gmane.network.rsync.general
Message-ID <[email protected]>
Hello,

rsync does offer the --rsh argument. I would like to use it that way

rsync --rsh=ssh -o ServerAliveInterval=240 -o LogLevel=Error -o IdentityFile=/home/user/.ssh/id_rsa -p 22 --delete --delete-excluded -v -i / user@localhost:"/tmp/tmp6x75lz10"

You see there are several sub-arguments that need to be put to "ssh" via the "--rsh". How can I be sure that e.g. "-o ServerAliveInterval" is interpreted by ssh and not by rsync?

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.