Marc Espie suggested this.

When rsync runs over ssh, mark the underlying ssh stream as
non-interactive.  It's a bulk transfer.  Disabling pseudo-tty
allocation in ssh will do this.

People who run a lot of rsync over ssh should try this.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/rsync/Makefile,v
retrieving revision 1.46
diff -u -r1.46 Makefile
--- Makefile    9 Aug 2005 18:40:56 -0000       1.46
+++ Makefile    20 Sep 2005 16:11:18 -0000
@@ -3,6 +3,7 @@
 COMMENT=       "mirroring/synchronization over low bandwidth links"
 
 DISTNAME=      rsync-2.6.6
+PKGNAME=       ${DISTNAME}p0
 CATEGORIES=    net
 HOMEPAGE=      http://rsync.samba.org/
 
@@ -23,7 +24,8 @@
 SEPARATE_BUILD=        simple
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=        --with-included-popt \
-               --with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf"
+               --with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf" \
+               --with-rsh="ssh -T"
 
 DOCDIR=        ${PREFIX}/share/doc/rsync
 
-- 
Christian "naddy" Weisgerber                          [EMAIL PROTECTED]

Reply via email to