Skip to content

Instantly share code, notes, and snippets.

@DocLM
DocLM / ssh-agent-launchd.patch
Last active March 7, 2021 19:47
Patch openssh ssh-agent to work with MacOS launchd socket listener
diff --git a/ssh-agent.c b/ssh-agent.c
index 58fe6dd..90ba7fb 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -71,6 +71,7 @@
#include <time.h>
#include <string.h>
#include <unistd.h>
+#include <launch.h>
#ifdef HAVE_UTIL_H

Keybase proof

I hereby claim:

  • I am DocLM on github.
  • I am doclm (https://keybase.io/doclm) on keybase.
  • I have a public key whose fingerprint is 87BC 4659 225D F84F 6D00 80E1 F172 F984 2CA6 40C4

To claim this, I am signing this object: