File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
share/github-backup-utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ if echo "$*" | grep "[|;]" >/dev/null || [ $(echo "$*" | wc -l) -gt 1 ]; then
58
58
fi
59
59
60
60
if [ -z " $GHE_DISABLE_SSH_MUX " ]; then
61
- controlpath=" $TMPDIR /.ghe-sshmux-$( echo -n " $user @$host :$port " | git hash-object --stdin --literally | cut -c 1-8) "
61
+ controlpath=" $TMPDIR /.ghe-sshmux-$( echo -n " $user @$host :$port " | git hash-object --stdin | cut -c 1-8) "
62
62
opts=" -o ControlMaster=auto -o ControlPath=\" $controlpath \" -o ControlPersist=10m -o ServerAliveInterval=10 $opts "
63
63
# Workaround for https://bugzilla.mindrot.org/show_bug.cgi?id=1988
64
64
[ -S $controlpath ] || ssh -f -p $port $opts -o BatchMode=yes " $host " -- /bin/true 1> /dev/null 2>&1 || true
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ proxy_user="${proxy_host%@*}"
25
25
26
26
opts=" $GHE_EXTRA_SSH_OPTS "
27
27
28
- [ -z " $GHE_DISABLE_SSH_MUX " ] && opts=" -o ControlMaster=auto -o ControlPath=\" $TMPDIR /.ghe-sshmux-$( echo -n " $proxy_user @$proxy_host :$proxy_port " | git hash-object --stdin --literally | cut -c 1-8) \" -o ControlPersist=10m -o ServerAliveInterval=10 $opts "
28
+ [ -z " $GHE_DISABLE_SSH_MUX " ] && opts=" -o ControlMaster=auto -o ControlPath=\" $TMPDIR /.ghe-sshmux-$( echo -n " $proxy_user @$proxy_host :$proxy_port " | git hash-object --stdin | cut -c 1-8) \" -o ControlPersist=10m -o ServerAliveInterval=10 $opts "
29
29
30
30
for host in $hosts ; do
31
31
cat << EOF
You can’t perform that action at this time.
0 commit comments