From b3b828e278c1acce0ce9f999f9fa2be2400b2468 Mon Sep 17 00:00:00 2001 From: wmde Date: Thu, 15 May 2025 12:38:04 +0200 Subject: [PATCH] Use $WMDERPDIR for ssh controlmaster --- wmde-rp-unison-ssh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmde-rp-unison-ssh.sh b/wmde-rp-unison-ssh.sh index b712c49..bbf8c39 100755 --- a/wmde-rp-unison-ssh.sh +++ b/wmde-rp-unison-ssh.sh @@ -17,7 +17,7 @@ set -x . $PREFIX/wmde-rp-common.sh 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"