{"id":53,"date":"2018-11-17T22:11:18","date_gmt":"2018-11-17T13:11:18","guid":{"rendered":"https:\/\/pocolog.bass-world.net\/tech\/?p=53"},"modified":"2018-11-17T22:11:18","modified_gmt":"2018-11-17T13:11:18","slug":"amazon-ec2-ssh-login","status":"publish","type":"post","link":"https:\/\/pocolog.bass-world.net\/tech\/2018\/amazon-ec2-ssh-login\/","title":{"rendered":"Amazon EC2 \u306b\u65b0\u898f\u30e6\u30fc\u30b6\u3067 ssh \u30ed\u30b0\u30a4\u30f3\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Amazon EC2 \u306b\u65b0\u898f\u30e6\u30fc\u30b6\u3092\u4f5c\u3063\u3066\u3001\u305d\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067 ssh \u30ed\u30b0\u30a4\u30f3\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<br \/>\n# \u307e\u308b\u4e00\u65e5\u304b\u304b\u3063\u305f\u2026<br \/>\n<!--more--><\/p>\n<ol>\n<li>Windows 10 \u306e PowerShell \u3067<br \/>\n&gt; ssh-keygen -f id_rsa_pocolog<br \/>\n\u3059\u308b\u3002<\/li>\n<li>\u4f5c\u6210\u3055\u308c\u305f\u516c\u958b\u9375\u3092 ec2 \u306e ~\/.ssh\/authorized_keys \u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002<br \/>\n# \u30b3\u30d4\u30fc\u306e\u3084\u308a\u65b9\u306f ec2-user \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067 scp \u3059\u308b\u306a\u308a\u3001ssh \u30bf\u30fc\u30df\u30ca\u30eb\u3067\u30b3\u30d4\u30da\u3059\u308b\u306a\u308a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>config \u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304f\u3002<\/li>\n<li>ssh pocolog \u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon EC2 \u306b\u65b0\u898f\u30e6\u30fc\u30b6\u3092\u4f5c\u3063\u3066\u3001\u305d\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067 ssh \u30ed\u30b0\u30a4\u30f3\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002 # \u307e\u308b\u4e00\u65e5\u304b\u304b\u3063\u305f\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-amazon-aws","category-linux"],"_links":{"self":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pocolog.bass-world.net\/tech\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}