Browse Source

Merged pull request #5 from TheBlueMatt/master.

Make the timeout a bit longer to accommodate machines under high load.
pull/6/merge
Dev Random 12 years ago
parent
commit
7aa482d039
  1. 2
      libexec/copy-from-target
  2. 2
      libexec/copy-to-target
  3. 2
      libexec/on-target

2
libexec/copy-from-target

@ -41,4 +41,4 @@ if [ $# = 0 ] ; then @@ -41,4 +41,4 @@ if [ $# = 0 ] ; then
exit 1
fi
scp -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT -r $TUSER@localhost:$1 $2
scp -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT -r $TUSER@localhost:$1 $2

2
libexec/copy-to-target

@ -41,4 +41,4 @@ if [ $# = 0 ] ; then @@ -41,4 +41,4 @@ if [ $# = 0 ] ; then
exit 1
fi
scp -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2
scp -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2

2
libexec/on-target

@ -41,4 +41,4 @@ fi @@ -41,4 +41,4 @@ fi
# exit 1
#fi
ssh -oConnectTimeout=2 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -p $VM_SSH_PORT $TUSER@localhost $*
ssh -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -p $VM_SSH_PORT $TUSER@localhost $*

Loading…
Cancel
Save