Use $WMDERPDIR for ssh controlmaster

This commit is contained in:
wmde 2025-05-15 12:38:04 +02:00
parent a822e786ef
commit b3b828e278
1 changed files with 1 additions and 1 deletions

View File

@ -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"