From 2a619eeebbbd412dd3c8d93043bb8faac03e62db Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 14 May 2008 19:56:56 +0100 Subject: [PATCH 1/1] reenable pubkey auth --- .offlineimap/.gitignore | 2 ++ .offlineimaprc | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .offlineimap/.gitignore diff --git a/.offlineimap/.gitignore b/.offlineimap/.gitignore new file mode 100644 index 0000000..78284fd --- /dev/null +++ b/.offlineimap/.gitignore @@ -0,0 +1,2 @@ +id_rsa.imap@seamus +id_rsa.imap@seamus.pub diff --git a/.offlineimaprc b/.offlineimaprc index 63191aa..bc83d04 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -37,9 +37,7 @@ ssl = no maxconnections = 1 holdconnectionopen = yes remoteuser = madduck -#preauthtunnel = ssh -CaxS none -o "KeepAlive = yes" -o "ProtocolKeepAlives = 10" -o "ConnectTimeout 20" -o "ControlMaster no" -i ~/.offlineimap/id_dsa.imap seamus.madduck.net 'MAIL=$HOME/.maildir/ /usr/lib/dovecot/imap' -# while SSH key auth is disabled -preauthtunnel = ssh -Cax -o "KeepAlive = yes" -o "ProtocolKeepAlives = 10" -o "ConnectTimeout 20" seamus.madduck.net 'MAIL=$HOME/.maildir/ /usr/lib/dovecot/imap' +preauthtunnel = SSH_AUTH_SOCK= ssh -CaxS none -o "ProtocolKeepAlives = 10" -o "ConnectTimeout 20" -o "ControlMaster no" -i ~/.offlineimap/id_rsa.imap@seamus seamus.madduck.net expunge = yes foldersort = py_foldersort_seamus nametrans = py_nametrans_seamus -- 2.39.5