]> snippets.scripts.mit.edu Git - Scripts/git/.git/blobdiff - barn-growl/barn-growl.py
kdo: Upstream krb5 now supports kswitch
[Scripts/git/.git] / barn-growl / barn-growl.py
index 5a2bf4a22e818ac9a1f5db690775da0db7bffaf4..e36f7198b6de0ccae5874285779f3c649bd2d3e9 100755 (executable)
@@ -50,7 +50,7 @@ class Notifier(AbstractConsumer):
                 print (id, header)
                 print message
             if self.usegrowl:
-                growlnotify = ['growlnotify', '-a', 'MacZephyr', '-n', 'zephyr', '-d', id, '-t', header]
+                growlnotify = ['growlnotify', '-H', 'localhost', '-a', 'MacZephyr', '-n', 'zephyr', '-d', id, '-t', header]
                 g = subprocess.Popen(growlnotify, stdin=subprocess.PIPE)
                 g.stdin.write(message)
                 g.stdin.close()
@@ -107,7 +107,7 @@ def main(argv):
             return 1
 
     if ssh is not None:
-        command = "ssh -K %s 'tzc -si'" % ssh
+        command = "ssh -o GSSAPIAuthentication=yes -o GSSAPIDelegateCredentials=yes -o GSSAPIKeyExchange=yes %s 'tzc -si'" % ssh
     else:
         command = "tzc -si"
     p = os.popen(command)