Skip to content

Instantly share code, notes, and snippets.

@Tensho
Created July 12, 2019 15:45
Show Gist options
  • Save Tensho/19e625b37b2a3c01fec708f18fe772a5 to your computer and use it in GitHub Desktop.
Save Tensho/19e625b37b2a3c01fec708f18fe772a5 to your computer and use it in GitHub Desktop.
Add ssh keys to agent on boot
<?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