mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-04-03 16:25:42 +08:00
feat(riot): ControlPersist=60s
This commit is contained in:
parent
f45f7e415c
commit
e79b092054
@ -101,7 +101,7 @@ parse_remote() {
|
|||||||
SSH_OPTIONS+=("-o" "PermitLocalCommand=yes")
|
SSH_OPTIONS+=("-o" "PermitLocalCommand=yes")
|
||||||
if [[ "$(get_os_type)" != "msys" ]]; then
|
if [[ "$(get_os_type)" != "msys" ]]; then
|
||||||
test "$DFS_DRY_RUN" = "1" || mkdir -p ~/.ssh/master-socket
|
test "$DFS_DRY_RUN" = "1" || mkdir -p ~/.ssh/master-socket
|
||||||
SSH_OPTIONS+=("-o" "ControlMaster=auto" "-o" "ControlPath=~/.ssh/master-socket/%C")
|
SSH_OPTIONS+=("-o" "ControlMaster=auto" "-o" "ControlPersist=60s" "-o" "ControlPath=~/.ssh/master-socket/%C")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# handle input
|
# handle input
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user