{"author_url":"https://blog.hatena.ne.jp/y-kamiya/","provider_url":"https://hatena.blog","title":"ssh key\u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3057\u306a\u304f\u3066\u6e08\u3080\u3088\u3046\u306b\u3059\u308b","image_url":null,"blog_url":"https://jsapachehtml.hatenablog.com/","author_name":"y-kamiya","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjsapachehtml.hatenablog.com%2Fentry%2F2019%2F09%2F05%2F001006\" title=\"ssh key\u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3057\u306a\u304f\u3066\u6e08\u3080\u3088\u3046\u306b\u3059\u308b - MEMOcho-\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://jsapachehtml.hatenablog.com/entry/2019/09/05/001006","categories":["mac"],"published":"2019-09-05 00:10:06","width":"100%","height":"190","type":"rich","blog_title":"MEMOcho-","version":"1.0","description":"\u6570\u5e74\u3076\u308a\u306bPC\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u306e\u3060\u304c\u3001mac\u3060\u3068\u3053\u308c\u304c\u7c21\u5358\u306b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u30e1\u30e2 \u3053\u308c\u3060\u3051 $ ssh-add -K <path to private key> -K\u3092\u3064\u3051\u308b\u3053\u3068\u306b\u3088\u308a\u3001mac\u306e\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u306b\u60c5\u5831\u304c\u767b\u9332\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3057\u3044\u3002 $ ssh-add -h ... -K Store passphrases in your keychain. \u6614\u74b0\u5883\u3092\u4f5c\u3063\u305f\u3068\u304d\u306fkeychain\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u5165\u308c\u3066\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u66f8\u304d\u8fbc\u307e\u308c\u305f\u60c5\u5831\u3092bashrc\u3067\u8aad\u3093\u3067\u3001\u307f\u305f\u3044\u306a\u3053\u3068\u3092\u3084\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u3068\u3082\u3066\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u3063\u3066\u3088\u3044"}