Replace the contents of /usr/bin/rbssh with the following:

EXTRA_OPTS="-o UserKnownHostsFile=$HOME/.ssh/known_hosts -o ForwardX11=no 
-o LogLevel=ERROR"
# see
EXTRA_OPTS="-o ControlPath=/tmp/master-%r@%h:%p -o ControlMaster=auto -o 
ControlPersist=10m $EXTRA_OPTS"
for k in $HOME/.ssh/id_{dsa,rsa} ; do
  test -e "$k" && EXTRA_OPTS="$EXTRA_OPTS -i $k"
exec /usr/bin/ssh $EXTRA_OPTS "$@"

Using native ssh was about 5x faster than the default Python rbssh 
implementation.  Moreover, using the connection multiplexing feature of ssh 
further sped up things another 5x or so.

Supercharge your Review Board with Power Pack:
Want us to host Review Board for you? Check out RBCommons:
Happy user? Let us know!
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to