在 MacOS 上你可以用下面的命令將你的私鑰加入到 Keychains:
ssh-add -K /path/to/private_key
如果你的私鑰 private key 存儲在 ~/.ssh
目錄下且名為 id_rsa
的話:
ssh-add -K ~/.ssh/id_rsa
原文
https://www.cnblogs.com/ZhYQ-Note/articles/10374635.html
在 MacOS 上你可以用下面的命令將你的私鑰加入到 Keychains:
ssh-add -K /path/to/private_key
如果你的私鑰 private key 存儲在 ~/.ssh
目錄下且名為 id_rsa
的話:
ssh-add -K ~/.ssh/id_rsa
原文
https://www.cnblogs.com/ZhYQ-Note/articles/10374635.html
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。