mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-03 14:10:36 +08:00
fix(riot): SSH_OPTIONS
This commit is contained in:
parent
9d51db1c5b
commit
12d77a1e01
@ -85,7 +85,7 @@ parse_remote() {
|
||||
USERNAME="" # optional
|
||||
SSH_OPTIONS="-o RequestTTY=yes" # optional
|
||||
if [[ "$RIOT_TRUST_CLIENT" == "1" ]]; then
|
||||
SSH_OPTIONS='-o PermitLocalCommand=yes'
|
||||
SSH_OPTIONS="$SSH_OPTIONS -o PermitLocalCommand=yes"
|
||||
if [[ "$(get_os_type)" != "msys" ]]; then
|
||||
test "$DFS_DRY_RUN" = "1" || mkdir -p ~/.ssh/master-socket
|
||||
SSH_OPTIONS="$SSH_OPTIONS -o ControlMaster=auto -o ControlPath=~/.ssh/master-socket/%C"
|
||||
|
Loading…
x
Reference in New Issue
Block a user