mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-10-23 05:08:16 +08:00
[debug] riot: disable controlmaster when forwarding gpg (#49)
fix(riot): disable controlmaster when forwarding gpg Signed-off-by: Dict Xiong <me@dxng.cn>
This commit is contained in:
@@ -255,6 +255,10 @@ prepare_gpg_forwarding() {
|
||||
fi
|
||||
fi
|
||||
|
||||
# A pre-existing multiplex master cannot apply this connection's -R
|
||||
# forwarding request. Put this first because OpenSSH keeps the first
|
||||
# value for repeated options, and force a dedicated connection.
|
||||
SSH_OPTIONS=("-o" "ControlMaster=no" "${SSH_OPTIONS[@]}")
|
||||
SSH_OPTIONS+=(
|
||||
# The probe already removed the old socket. Do not let the main SSH
|
||||
# connection unlink a path recreated during the gap between them.
|
||||
|
||||
Reference in New Issue
Block a user