Created
October 12, 2016 13:30
-
-
Save seangaffney/08741e0eb39963e6846940ad873f2e82 to your computer and use it in GitHub Desktop.
MacOS Sierra no longer auto-loads SSH keys stored in Keychain. To correct this, add this plist to `~/Library/LaunchAgents`. To load it immediately, run `launchctl load ~/Library/LaunchAgents/SshAddA.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>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