From d6a4ae14caaba23c6a9e5dab475c2f5702341661 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 22 Mar 2022 09:21:55 +0100 Subject: [PATCH] Ensure we use the right SSH key --- .offlineimap/preauthtunnel.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.offlineimap/preauthtunnel.sh b/.offlineimap/preauthtunnel.sh index 778cf0d..b0acb50 100755 --- a/.offlineimap/preauthtunnel.sh +++ b/.offlineimap/preauthtunnel.sh @@ -1,5 +1,7 @@ #!/bin/sh +unset SSH_AUTH_SOCK + exec ssh -F ~/.offlineimap/ssh_config -i ~/.offlineimap/${1}.ssh-seckey ${1} # this relies on the IMAP command being specified on the server side, i.e. in -- 2.39.5