]> git.madduck.net Git - etc/offlineimap.git/blobdiff - .offlineimap/preauthtunnel.sh

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Ensure we use the right SSH key
[etc/offlineimap.git] / .offlineimap / preauthtunnel.sh
index 778cf0d12017d8c69329dca0391831758c552a41..b0acb504ee19833d8437251fc56a4b53123a013b 100755 (executable)
@@ -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