sh 将Key Key添加到Keychain以使SourceTree在OS X上运行 - 来自http://superuser.com/questions/879050/sourcetree-ssh-

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 将Key Key添加到Keychain以使SourceTree在OS X上运行 - 来自http://superuser.com/questions/879050/sourcetree-ssh-相关的知识,希望对你有一定的参考价值。

#On Mac OSX, the native SSH client can use the built-in keychain directly. To add your private key to the keychain simply use the command:
ssh-add -K /path/of/private/key

#As an example if your private key is stored at ~/.ssh and is named id_rsa, you would use the command:
ssh-add -K ~/.ssh/id_rsa

You will then be prompted for your passcode, which will be stored in your keychain. After this you should be ready for a password-less login.

以上是关于sh 将Key Key添加到Keychain以使SourceTree在OS X上运行 - 来自http://superuser.com/questions/879050/sourcetree-ssh-的主要内容,如果未能解决你的问题,请参考以下文章