fix(riot): ControlPersist 60s -> 5s

This commit is contained in:
2026-05-06 12:15:07 +08:00
parent a7074fc940
commit 9cf6d65692
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ parse_remote() {
SSH_OPTIONS+=("-o" "PermitLocalCommand=yes")
if [[ "$(get_os_type)" != "msys" ]]; then
test "$DFS_DRY_RUN" = "1" || mkdir -p ~/.ssh/master-socket
SSH_OPTIONS+=("-o" "ControlMaster=auto" "-o" "ControlPersist=60s" "-o" "ControlPath=~/.ssh/master-socket/%C")
SSH_OPTIONS+=("-o" "ControlMaster=auto" "-o" "ControlPersist=5s" "-o" "ControlPath=~/.ssh/master-socket/%C")
fi
fi
# handle input