开源软件名称(OpenSource Name):jirsbek/SSH-keys-in-macOS-Sierra-keychain开源软件地址(OpenSource Url):https://github.com/jirsbek/SSH-keys-in-macOS-Sierra-keychain开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):Saving SSH keys in macOS Sierra keychainSource links
ProblemAs described in detail on https://openradar.appspot.com/27348363, macOS/OS X till Yosemite used to remember SSH keys added by command Unfortunately this way no longer works. Keys added to the keychain via
SolutionsSolution 1 (recommended)Apple updated its Technical Notes to indicate that since 10.12.2, macOS includes version 7.3p1 of OpenSSH and its new behaviors. In
Solution 2After usage of To automate this, add a .plist with the following content to the path <?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>
<!-- @@@@LingonWhatStart:ssh-add -A@@@@LingonWhatEnd --> Alternatives
NotesIf you have issues with |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论