Last active
July 27, 2022 22:03
-
-
Save grampelberg/ae171b3991cf291474c6cda1cb943322 to your computer and use it in GitHub Desktop.
com.openssh.ssh-agent-brew.plist
This file contains 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>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>com.openssh.ssh-agent-brew</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/opt/homebrew/bin/ssh-agent</string> | |
<string>-d</string> | |
<string>-a</string> | |
<string>/tmp/ssh-agent-brew.sock</string> | |
</array> | |
<key>StandardErrorPath</key> | |
<string>/tmp/ssh-agent-brew.err</string> | |
<key>StandardOutPath</key> | |
<string>/tmp/ssh-agent-brew.out</string> | |
</dict> | |
</plist> |
This file contains 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
launchctl load -w ~/Library/LaunchAgents/com.openssh.ssh-agent-brew.plist && \ | |
export SSH_AUTH_SOCK=/tmp/ssh-agent-brew.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment