{"id":2111,"date":"2015-08-18T21:39:26","date_gmt":"2015-08-18T12:39:26","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=2111"},"modified":"2015-08-18T21:39:26","modified_gmt":"2015-08-18T12:39:26","slug":"ssh-%e5%85%ac%e9%96%8b%e9%8d%b5%e8%aa%8d%e8%a8%bc-%e9%8d%b5%e3%81%ae%e4%bd%9c%e3%82%8a%e6%96%b9%e3%81%a8%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2015\/08\/18\/ssh-%e5%85%ac%e9%96%8b%e9%8d%b5%e8%aa%8d%e8%a8%bc-%e9%8d%b5%e3%81%ae%e4%bd%9c%e3%82%8a%e6%96%b9%e3%81%a8%e8%a8%ad%e5%ae%9a\/","title":{"rendered":"SSH \u516c\u958b\u9375\u8a8d\u8a3c \u9375\u306e\u4f5c\u308a\u65b9\u3068\u8a2d\u5b9a"},"content":{"rendered":"<p>SSH\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306f\u7dcf\u5f53\u305f\u308a\u653b\u6483\u306a\u3069\u304c\u3042\u308b\u305f\u3081\u3001\u57fa\u672c\u7684\u306b\u306f\u516c\u958b\u9375\u8a8d\u8a3c\u306e\u307f\u3092\u8a31\u53ef\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002<\/p>\n<p>\u3044\u3064\u3082\u516c\u958b\u9375\u3092\u4f5c\u6210\u3057\u3066\u3044\u308b\u306e\u3060\u304c\u3001\u624b\u9806\u3092\u305d\u306e\u305f\u3073\u306b\u8abf\u3079\u3066\u3044\u308b\u306e\u3067\u5099\u5fd8\u9332\u3068\u3057\u3066\u307e\u3068\u3081\u3066\u307f\u305f\u3002<\/p>\n<p>rsa\u306e2048\u30d3\u30c3\u30c8\u3067\u79d8\u5bc6\u9375\u3068\u516c\u958b\u9375\u3092\u4f5c\u6210\u3057\u3066\u3001\u30b3\u30e1\u30f3\u30c8\u306bCOMMENT\u3068\u8a2d\u5b9a\u3059\u308b\u3002\u3053\u306e\u30b3\u30e1\u30f3\u30c8\u306f\u516c\u958b\u9375\u306b\u8a18\u8f09\u3055\u308c\u308b\u306e\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u3082\u306e\u3092\u8a18\u8f09\u3057\u3066\u304a\u3053\u3046\u3002<\/p>\n<p>[shell]<br \/>\nssh-keygen -t rsa -b 2048 -C &#8220;COMMENT&#8221;<br \/>\n[\/shell]<\/p>\n<p>id_rsa\u304c\u79d8\u5bc6\u9375\u3067id_rsa.pub\u304c\u516c\u958b\u9375\u3002<\/p>\n<p>\u516c\u958b\u9375\u306f\u898b\u3089\u308c\u3066\u3082\u69cb\u308f\u306a\u3044\u306e\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u5143\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u516c\u958b\u9375\u3092\u30ed\u30b0\u30a4\u30f3\u5148\u30b5\u30fc\u30d0\u30fc\u306e~\/.ssh\/authorized_keys\u306b\u30b3\u30d4\u30fc\u3057\u3088\u3046\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f400\u306b\u3057\u3066\u304a\u304f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSH\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306f\u7dcf\u5f53\u305f\u308a\u653b\u6483\u306a\u3069\u304c\u3042\u308b\u305f\u3081\u3001\u57fa\u672c\u7684\u306b\u306f\u516c\u958b\u9375\u8a8d\u8a3c\u306e\u307f\u3092\u8a31 &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2015\/08\/18\/ssh-%e5%85%ac%e9%96%8b%e9%8d%b5%e8%aa%8d%e8%a8%bc-%e9%8d%b5%e3%81%ae%e4%bd%9c%e3%82%8a%e6%96%b9%e3%81%a8%e8%a8%ad%e5%ae%9a\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[88,402],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2111"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=2111"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2111\/revisions"}],"predecessor-version":[{"id":2112,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/2111\/revisions\/2112"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=2111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=2111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=2111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}