{"height":"190","provider_url":"https://hatena.blog","title":"SSH\u79d8\u5bc6\u9375\u3068\u516c\u958b\u9375\u306e\u4f5c\u6210","blog_title":"My Hair is Bossa Nova","author_url":"https://blog.hatena.ne.jp/ssk1227/","published":"2018-12-25 10:43:41","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fssk-resdia.hateblo.jp%2Fentry%2F20181225%2F1545702221\" title=\"SSH\u79d8\u5bc6\u9375\u3068\u516c\u958b\u9375\u306e\u4f5c\u6210 - My Hair is Bossa Nova\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["GnuPG","Linux","Mac"],"image_url":null,"blog_url":"https://ssk-resdia.hateblo.jp/","version":"1.0","url":"https://ssk-resdia.hateblo.jp/entry/20181225/1545702221","description":"\u79d8\u5bc6\u9375\u306e\u4f5c\u6210 RSA\u5f62\u5f0f ssh-keygen -t rsa -b 4096 -C \"hoge@hogehoge.com\" -f ~/.ssh/id_rsa ECDSA\u5f62\u5f0f ssh-keygen -t ecdsa -b 4096 -C \"hoge@hogehoge.com\" -f ~/.ssh/id_ecdsa \u516c\u958b\u9375\u306e\u8a2d\u7f6e \u767b\u9332\u3057\u305f\u3044\u30b5\u30fc\u30d0\u4e0a\u306e~/.ssh/authorized_keys (\u306a\u3051\u308c\u3070touch)\u306b \u30ed\u30fc\u30ab\u30eb\u306e\u516c\u958b\u9375\u3092\u30b3\u30d4\u30fc\u3057\u3066\u8cbc\u308a\u4ed8\u3051\u308b\u3002 cat ~/.ssh/id_rsa | pbcopy vi ~/.ssh/authorized_keys chmod 600 ~/.ssh\u2026","provider_name":"Hatena Blog","type":"rich","author_name":"ssk1227","width":"100%"}