From: martin f. krafft Date: Tue, 22 Mar 2022 08:21:55 +0000 (+0100) Subject: Ensure we use the right SSH key X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/d6a4ae14caaba23c6a9e5dab475c2f5702341661 Ensure we use the right SSH key --- 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