change ssh-master name in sshfs
This commit is contained in:
parent
7fdd1bc3e2
commit
12a6d378dc
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,8 @@ sshs() {
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
echo "FILELIST: $FILELIST"
|
echo "FILELIST: $FILELIST"
|
||||||
local SSH_OPTS="-o VisualHostKey=no -o ControlMaster=yes -o ControlPersist=15s -o ControlPath=~/.ssh/ssh-%n-%C"
|
#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"
|
||||||
# Read /etc/bashrc or /etc/bash.bashrc (depending on distribution) and /etc/profile.d/*.sh first
|
# Read /etc/bashrc or /etc/bash.bashrc (depending on distribution) and /etc/profile.d/*.sh first
|
||||||
cat << EOF >> "${TMPBASHCONFIG}"
|
cat << EOF >> "${TMPBASHCONFIG}"
|
||||||
[ -e /etc/bashrc ] && BASHRC=/etc/bashrc
|
[ -e /etc/bashrc ] && BASHRC=/etc/bashrc
|
||||||
|
|
Loading…
Reference in a new issue