ControlMasterSec increased

sshs did not finish every time the config, because connection Master
broke down
This commit is contained in:
Jakobus Schürz 2021-03-08 12:07:34 +01:00
parent 971805c8a3
commit e2469ed60c

View file

@ -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