curl -o ~/Library/LaunchAgents/ssh.add.a.plist https://gist.githubusercontent.com/ryun/556a852b39d30909a6ed1c45101f22c6/raw/55ce45ff58212ca85c1d84c0edab36e398538136/ssh.add.a.plist
Last active
March 1, 2017 22:16
-
-
Save ryun/556a852b39d30909a6ed1c45101f22c6 to your computer and use it in GitHub Desktop.
Add keys on startup
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>Label</key> | |
<string>ssh-add-a</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>ssh-add</string> | |
<string>-A</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