{"id":605,"date":"2010-12-12T18:46:45","date_gmt":"2010-12-12T09:46:45","guid":{"rendered":"https:\/\/matsudapress.com\/?p=605"},"modified":"2010-12-12T18:46:45","modified_gmt":"2010-12-12T09:46:45","slug":"ssh-winscp%e3%80%80%e7%94%a8%e3%80%80%e8%aa%8d%e8%a8%bc%e3%82%ad%e3%83%bc%e4%bd%9c%e6%88%90%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/matsudapress.com\/?p=605","title":{"rendered":"SSH &amp; WinSCP\u3000\u7528\u3000\u8a8d\u8a3c\u30ad\u30fc\u4f5c\u6210\u30e1\u30e2"},"content":{"rendered":"<p>Linux\u3092\u89e6\u3063\u3066\u3044\u3066\u3001\u305f\u307e\u306bSSH\u306e\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210\u3057\u305f\u308a\u3001WinSCP\u3092\u5229\u7528\u3055\u305b\u308b\u30b1\u30fc\u30b9\u304c\u3001<br \/>\n\u305f\u307e\uff5e\u306b\u3042\u308b\u3002<\/p>\n<p>\u666e\u6bb5\u304b\u3089\u305d\u308c\u306a\u308a\u306b\u3055\u308f\u3063\u3066\u3044\u308c\u3070\u3059\u3089\u3059\u3089\u5bfe\u5fdc\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u305f\u307e\u306b\u3060\u3068\u3001<br \/>\n\u3061\u3087\u3063\u3068\u30b0\u30b0\u3063\u3066\u307f\u306a\u3044\u3068\u601d\u3044\u51fa\u305b\u306a\u3044\u306a\u3069\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u4eca\u5f8c\u79c1\u81ea\u8eab\u8ff7\u308f\u306a\u3044\u305f\u3081\u306b\u3082\u4e0b\u8a18\u306bSSH(teraterm)\uff0bWinSCP\u306e\u8a8d\u8a3c\u30ad\u30fc\u4f5c\u6210\u30e1\u30e2\u3092\u6b8b\u3057\u307e\u3059\u3002<\/p>\n<p><strong><span style=\"font-size: large;\">\u25a0SSH\u306e\u8a8d\u8a3c\u30ad\u30fc\u4f5c\u6210<\/span><\/strong><\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u306b\u4f5c\u308a\u305f\u3044\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c<\/p>\n<pre class=\"brush:php\">ssh-keygen -t rsa<\/pre>\n<p>\u3053\u306e\u64cd\u4f5c\u3067\u3001$HOME\/.ssh\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79d8\u5bc6\u9375\uff08id_rsa\uff09\u3068\u516c\u958b\u9375\uff08id_rsa.pub\uff09\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002<\/p>\n<p>\u4f5c\u3089\u308c\u305fid_rsa.pub\uff08\u516c\u958b\u9375\uff09\u3092\u3000authorized_keys\u3000\u306b\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n<pre class=\"brush:php\">id_rsa.pub &gt;&gt; authorized_keys<\/pre>\n<p>\u305d\u3057\u3066id_rsa\uff08\u79d8\u5bc6\u9375\uff09\u306e\u65b9\u3092\u3001TeraTerm\u7528\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u3002<\/p>\n<p>\u25a0<strong><span style=\"font-size: large;\">WinSCP\u7528\u306e\u8a8d\u8a3c\u30ad\u30fc\u4f5c\u6210<\/span><\/strong><\/p>\n<p>\u304a\u305d\u3089\u304fWinSCP\u3068\u4e00\u7dd2\u306b\u3055\u308c\u3066\u3044\u308bpuTTYgen\u3068\u3044\u3046\u30c4\u30fc\u30eb\u3092\u8d77\u52d5\u3002<br \/>\n\u300cGenarate\u300d\u30dc\u30bf\u30f3\u3092\u304a\u3057\u3001\u30de\u30a6\u30b9\u3092\u3054\u306b\u3087\u3054\u306b\u3087\u3057\u3066\u6697\u53f7\u60c5\u5831\u3092\u751f\u6210\u3059\u308b\u3002<br \/>\n\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3057\u3001\u300cSave\u3000pravate\u3000key\u300d\u3067WinSCP\u3067\u6307\u5b9a\u3059\u308b\u3088\u3046\u306e\u79d8\u5bc6\u30ad\u30fc\u3092\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001[Public key for pasting into OpenSSH authorized_keys2 file]\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u3057\u3001<br \/>\n\u30b5\u30fc\u30d0\u30fc\u4e0a\u306eauthorized_keys\u306b\u8ffd\u8a18\u3059\u308b\u3002<br \/>\n<a href=\"https:\/\/matsudapress.com\/wp-content\/uploads\/2010\/12\/puttye-key-genarator.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/matsudapress.com\/wp-content\/uploads\/2010\/12\/puttye-key-genarator-300x250.png\" alt=\"puTTYgen\" title=\"puttye key genarator\" width=\"300\" height=\"250\" class=\"aligncenter size-medium wp-image-606\" \/><\/a><\/p>\n<pre class=\"brush:php\">uttygen_pub_key(\u4e0a\u8a18\u306e\u30b3\u30d4\u30fc\u3057\u305f\u5185\u5bb9\u306e\u30c6\u30ad\u30b9\u30c8) &gt;&gt; authorized_keys<\/pre>\n<p>\u3053\u308c\u3067WinSCP\u3067\u6307\u5b9a\u3059\u308b\u3088\u3046\u306e\u79d8\u5bc6\u30ad\u30fc\u3092\u9078\u629e\u3057\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u30ad\u30fc\u8a8d\u8a3c\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3092\u89e6\u3063\u3066\u3044\u3066\u3001\u305f\u307e\u306bSSH\u306e\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210\u3057\u305f\u308a\u3001WinSCP\u3092\u5229\u7528\u3055\u305b &hellip; <a href=\"https:\/\/matsudapress.com\/?p=605\">\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":{"footnotes":""},"categories":[89,42,65,78],"tags":[146,192,196,207,328],"class_list":["post-605","post","type-post","status-publish","format-standard","hentry","category-linux","category-ssl","category-65","category-78","tag-id_rsa","tag-ssh","tag-teraterm","tag-winscp","tag-328"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=605"}],"version-history":[{"count":0,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/605\/revisions"}],"wp:attachment":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}