Use $WMDERPDIR for ssh controlmaster
This commit is contained in:
parent
a822e786ef
commit
b3b828e278
|
@ -17,7 +17,7 @@ set -x
|
||||||
. $PREFIX/wmde-rp-common.sh
|
. $PREFIX/wmde-rp-common.sh
|
||||||
|
|
||||||
HOMEDIR=$(getent passwd "$PAM_USER" | cut -d: -f6)
|
HOMEDIR=$(getent passwd "$PAM_USER" | cut -d: -f6)
|
||||||
SSHARGS="-o UserKnownHostsFile=$WMDERPDIR/known_hosts -o ControlMaster=auto -o ControlPath=~/.ssh/cm-%r@%h:%p -o ControlPersist=10m"
|
SSHARGS="-o UserKnownHostsFile=$WMDERPDIR/known_hosts -o ControlMaster=auto -o ControlPath=$WMDERPDIR/cm-%r@%h:%p -o ControlPersist=10m"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue