In article <[EMAIL PROTECTED]> you write:
>Daniel Berlin wrote:
>> I should note that svn treats it's remote connections as disposable, so
>> svn+ssh will probably connect more than once for things like remote
>> diffs.  So if it takes a while to authenticate, this may not be your
>> best bet if you are looking for blazing speed (as some seem to be :P).
>
>It would seem to be possible to use fsh to cache ssh connections for
>svn.  But I have not tried it with svn and have not worked out the
>exact client side svn configuration syntax.
>
>  http://www.lysator.liu.se/fsh/

Recent versions of openssh support multiple connections through one
single authentication token (`master' connection)

My .ssh/config looks like this:

Host cvs-base
        Hostname cvs.host
        ControlMaster yes
        ControlPath ~/.ssh/openbsd-mux
Host cvs-fast
        ControlMaster no
        ControlPath ~/.ssh/openbsd-mux

and I use something like this for a cvs script:

#!/bin/sh
CVS_RSH=ssh
export CVS_RSH
test -e $HOME/.ssh/openbsd-mux && exec cvs -z3 -d cvs-fast:/cvs "$@"
exec cvs -z3 -d [EMAIL PROTECTED]:/cvs "$@"


No need for fsh or anything. Didn't this feature make it into portable 
openssh ?

Reply via email to