Created
February 27, 2026 09:12
-
-
Save kimminss0/4c32ee95464d8933860041985ba12a76 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.kimminss0.ssh-agent</string> | |
| <key>EnvironmentVariables</key> | |
| <dict> | |
| <key>SSH_ASKPASS</key> | |
| <string>/opt/homebrew/bin/ssh-askpass</string> | |
| <key>SSH_ASKPASS_REQUIRE</key> | |
| <string>force</string> | |
| </dict> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/bin/sh</string> | |
| <string>-c</string> | |
| <!-- We reuse SSH_AUTH_SOCK from com.openssh.ssh-agent --> | |
| <string>killall ssh-agent; rm -f $SSH_AUTH_SOCK; exec /opt/homebrew/bin/ssh-agent -D -a $SSH_AUTH_SOCK</string> | |
| </array> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| </dict> | |
| </plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment