ControlMasterSec increased
sshs did not finish every time the config, because connection Master broke down
This commit is contained in:
parent
971805c8a3
commit
e2469ed60c
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ sshs() {
|
|||
fi
|
||||
echo "FILELIST: $FILELIST"
|
||||
#local SSH_OPTS="-o VisualHostKey=no -o ControlMaster=yes -o ControlPersist=15s -o ControlPath=~/.ssh/ssh-%C"
|
||||
local SSH_OPTS="-o VisualHostKey=no -o ControlMaster=yes -o ControlPersist=2s -o ControlPath=~/.ssh/ssh-%C"
|
||||
local SSH_OPTS="-o VisualHostKey=no -o ControlMaster=yes -o ControlPersist=10s -o ControlPath=~/.ssh/ssh-%C"
|
||||
# Read /etc/bashrc or /etc/bash.bashrc (depending on distribution) and /etc/profile.d/*.sh first
|
||||
cat << EOF >> "${TMPBASHCONFIG}"
|
||||
[ -e /etc/bashrc ] && BASHRC=/etc/bashrc
|
||||
|
|
Loading…
Reference in a new issue