{"id":7003,"date":"2019-01-13T16:35:32","date_gmt":"2019-01-13T07:35:32","guid":{"rendered":"https:\/\/y2tech.net\/blog\/?p=7003"},"modified":"2019-01-14T16:04:59","modified_gmt":"2019-01-14T07:04:59","slug":"build-a-own-site-on-conoha-wing-service-vol-1-2","status":"publish","type":"post","link":"https:\/\/y2tech.net\/blog\/inet\/web\/build-a-own-site-on-conoha-wing-service-vol-1-2-7003\/","title":{"rendered":"ConoHa WING\u3067\u30b5\u30a4\u30c8\u69cb\u7bc9\u3057\u3066\u307f\u308b\uff08\u521d\u671f\u69cb\u7bc9\u7de8\uff1a\u305d\u306e\uff12\uff09"},"content":{"rendered":"<h3>\u521d\u671f\u30c9\u30e1\u30a4\u30f3\u3067\u306e\u904b\u7528\u306b\u5fc5\u8981\u306a\u5404\u7a2e\u8a2d\u5b9a\u3092\u884c\u3046<\/h3>\r\n<br>\r\n<h4>WEB\u30b3\u30f3\u30c6\u30f3\u30c4\u7ba1\u7406\u306e\u305f\u3081\u306e\u63a5\u7d9a\u74b0\u5883\u3092\u6574\u3048\u308b<\/h4>\r\n<br>\r\n<p>WEB\u30b5\u30fc\u30d0\u306e\u74b0\u5883\u306e\u30c1\u30a7\u30c3\u30af\u304c\u7d42\u308f\u3063\u305f\u3068\u3053\u308d\u3067\u3001WEB\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u7dad\u6301\u7ba1\u7406\u306b\u5fc5\u8981\u3068\u306a\u308bSSH\u3084FTP\u3067\u306e\u63a5\u7d9a\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306eWEB\u30b5\u30fc\u30d0\u3078\u306e\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5\u306a\u3069\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u304a\u304f\uff0e<\/p>\r\n<br>\r\n<p>\u5148\u305a\u6700\u521d\u306bSSH\u306b\u3088\u308b\u30bb\u30ad\u30e5\u30a2\u306a\u30b5\u30fc\u30d0\u63a5\u7d9a\u304c\u884c\u3048\u308b\u3088\u3046\u306b\u3001SSH\u63a5\u7d9a\u74b0\u5883\u3092\u6574\u5099\u3059\u308b\uff0e&#8221;\u30b5\u30fc\u30d0\u7ba1\u7406&#8221; \u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u3001\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306e &#8220;SSH&#8221; \u3092\u958b\u304f\uff0e\u521d\u671f\u72b6\u614b\u3067\u306f\u30ad\u30fc\u60c5\u5831\u304c\u4f55\u3082\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u9805\u76ee\u306f\u7a7a\u306e\u72b6\u614b\u3060\uff0e\u3053\u306e\u72b6\u614b\u3067\u3001\u753b\u9762\u53f3\u4e0a\u306b\u3042\u308b &#8220;+ SSH Key&#8221; \u3068\u3044\u3046\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u5165\u529b\u9805\u76ee\u304c\u73fe\u308c\u308b\uff0e<\/p>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHKeyGen-640x278.png\" alt=\"SSH Key Generation\" width=\"640\" height=\"278\" class=\"size-medium wp-image-7007\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHKeyGen.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHKeyGen-320x139.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>SSH\u30ad\u30fc\uff08\u516c\u958b\u9375\u3001\u79d8\u5bc6\u9375\uff09\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u7ba1\u7406\u753b\u9762\u304c\u73fe\u308c\u308b<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<p>SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u306f\u3053\u306e\u5834\u3067\u65b0\u898f\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3068\u65e2\u5b58\u306e\u30ad\u30fc\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b2\u901a\u308a\u306e\u65b9\u6cd5\u304c\u9078\u3079\u308b\u304c\u3001\u4eca\u56de\u306f\u65b0\u898f\u306b\u81ea\u52d5\u751f\u6210\u3059\u308b\u3053\u3068\u306b\u3059\u308b\uff0e\u65e2\u5b58\u306e\u30ad\u30fc\u3092\u4f7f\u3046\u3088\u3046\u306a\u4eba\u9054\u306f\u3042\u308b\u610f\u5473SSH\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u7fd2\u719f\u3057\u3066\u3044\u308b\u4eba\u9054\u306a\u306e\u3067\u3001\u3053\u3053\u3067\u8aac\u660e\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3060\u308d\u3046\uff0e\u30cd\u30fc\u30e0\u30bf\u30b0\u306b\u306f\u3069\u306e\u30b5\u30fc\u30d0\u306eSSH\u30ad\u30fc\u306a\u306e\u304b\u304c\u5224\u308b\u3088\u3046\u306b\u304d\u3061\u3093\u3068\u540d\u524d\u3092\u4ed8\u3051\u3066\u304a\u3053\u3046\uff0e<\/p>\r\n<br>\r\n<p>&#8220;\u4fdd\u5b58&#8221; \u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u201d\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u201d \u3068\u3044\u3046\u5185\u5bb9\u306e\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u73fe\u308c\u308b\u306e\u3067\u3001WEB\u30d6\u30e9\u30a6\u30b6\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a9\u30eb\u30c0\u306b\u4e00\u65e6\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\uff08\u79d8\u5bc6\u9375\uff09\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304f\uff0e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f1\u56de\u3057\u304b\u884c\u3048\u306a\u3044\u306e\u3067\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u305f\u308a\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u4ea1\u304f\u3057\u305f\u5834\u5408\u306f\u3001\u4f5c\u6210\u3057\u305fSSH\u30ad\u30fc\u3092\u524a\u9664\u3057\u305f\u4e0a\u3067\u65b0\u305f\u306b\u518d\u751f\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff0e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u306f\u6587\u5b57\u901a\u308a\u79d8\u5bc6\u306b\u3057\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u60c5\u5831\u306a\u306e\u3067\u3001\u305d\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u306f\u7d30\u5fc3\u306e\u6ce8\u610f\u304c\u5fc5\u8981\u3060\uff0e<\/p>\r\n<br>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyDownload-640x310.png\" alt=\"PrivateKey Download\" width=\"640\" height=\"310\" class=\"size-medium wp-image-7008\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyDownload-640x310.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyDownload-320x155.png 320w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyDownload.png 683w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/> \r\n<br>\r\n<span>\u81ea\u52d5\u751f\u6210\u3055\u308c\u305fSSH\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ad\u30fc\uff08\u79d8\u5bc6\u9375\uff09\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306f &#8220;y2-wing-key-2019-01-13-10-26.pem&#8221; \u306e\u3088\u3046\u306a\u540d\u524d\u304c\u4ed8\u3044\u3066\u304a\u308a\u3001\u53ea\u306e\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u3060\uff0e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3067\u3042\u307e\u308a\u610f\u5473\u306f\u7121\u3044\u304c\u3001\u53c2\u8003\u307e\u3067\u306b\u3069\u306e\u3088\u3046\u306a\u7269\u304b\u5b9f\u4f8b\u3092\u793a\u3057\u3066\u304a\u304f\uff0e\uff08\u5f53\u7136\u306a\u304c\u3089\u3001\u7d76\u5bfe\u79d8\u5bc6\u306b\u3057\u3066\u304a\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u60c5\u5831\u306a\u306e\u3067\u3001\u3053\u3053\u3067\u8868\u793a\u3059\u308b\u4e2d\u8eab\u306f\u3082\u3061\u308d\u3093\u507d\u60c5\u5831\uff09<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\n-----BEGIN RSA PRIVATE KEY-----\r\nMIIEpgIBAAKCAQEAtes8tLii7L0cuZ3LVRlaj1ExTnWyJ8ipp5+6vpsF2ea66vEz\r\nJDikje89453jsalfgdf+T2vASUTT4CQ2LcB+scLrDAl0OtMO4oaC+igHKVB99sKZ\r\nIWZsMgXzffRY57OFUw6BGciDvXB16kkocDSMEG1REqCwIVNIQTiw8yvUpQ+QuKOp\r\n\r\n   \u9014\u4e2d\u7701\u7565\r\n\r\n6l6ne1hAUd8XWc4zlrTTF\/9hXOcBmQkNnz4wfbzoRhUgArnOAfNG7TW60Sa0fjKb\r\ndsf389sk\/CoeO+2nY56l\/dsdsfgr422Hjkds99\/dh8k3JqcFEy23\r\n-----END RSA PRIVATE KEY-----\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<p>SSH\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u60c5\u5831\uff08\u30b5\u30fc\u30d0\u306eDNS\u540d\u3084SSH\u63a5\u7d9a\u30dd\u30fc\u30c8\u3001\u30e6\u30fc\u30b6ID\u540d\uff09\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\uff0e<\/p>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHConnectionInfo-640x356.png\" alt=\"SSH Connection Info\" width=\"640\" height=\"356\" class=\"size-medium wp-image-7010\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHConnectionInfo.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHConnectionInfo-320x178.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/> <br>\r\n<span>SSH\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u60c5\u5831\u306f\u3053\u306e\u753b\u9762\u3067\u78ba\u8a8d\u53ef\u80fd\u3060<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<p>\u4ee5\u4e0a\u3067\u3001\u30b5\u30fc\u30d0\u5074\u3067\u306eSSH\u63a5\u7d9a\u74b0\u5883\u306e\u8a2d\u5b9a\u306f\u7d42\u4e86\u3067\u3001\u5f8c\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u306eSSH\u63a5\u7d9a\u306e\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u884c\u3048\u3070\u826f\u3044\u306e\u3060\u304c\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306eSSH\u63a5\u7d9a\u74b0\u5883\u306f\u5343\u5dee\u4e07\u5225\u306a\u306e\u3067\u3001\u3053\u3053\u3067\u306fMac\u306e &#8220;Transmit 5&#8243; \u306b\u3088\u308bSFTP\u63a5\u7d9a\u3068&#8221;Terminal\uff08\u30bf\u30fc\u30df\u30ca\u30eb\uff09&#8221; \u30a2\u30d7\u30ea\u3092\u4f7f\u3063\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306eSSH\u30ed\u30b0\u30a4\u30f3\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7c21\u5358\u306b\u8aac\u660e\u3057\u3066\u304a\u304f\uff0e<\/p>\r\n<br>\r\n<h4>SSH\u79d8\u5bc6\u9375\u306e\u4fdd\u7ba1<\/h4>\r\n<br>\r\n<p>SSH\u63a5\u7d9a\u306b\u306f\u4eca\u56de\u884c\u3046\u9375\u8a8d\u8a3c\u65b9\u5f0f\u4ee5\u5916\u306b\u3082\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u7d44\u307f\u5408\u308f\u305b\u306b\u3088\u308b\u65b9\u6cd5\u3082\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3060\u304c\u3001\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u3088\u308b\u65b9\u6cd5\u306f\u9375\u8a8d\u8a3c\u65b9\u5f0f\u3088\u308a\u3082\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u306f\u52a3\u308b\u306e\u3067\u3001\u73fe\u5728\u3067\u306f\u9375\u8a8d\u8a3c\u65b9\u5f0f\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b\uff0eConoHa WING\u3067\u3082\u9375\u8a8d\u8a3c\u65b9\u5f0f\u306b\u3088\u308bSSH\u63a5\u7d9a\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u306f\u79d8\u5bc6\u9375\u3092\u4f7f\u3063\u3066\u30b5\u30fc\u30d0\u306bSSH\u63a5\u7d9a\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\uff0e<\/p>\r\n<br>\r\n<p>\u5b9f\u306f\u79d8\u5bc6\u9375\u306e\u7f6e\u304d\u5834\u6240\u306b\u3064\u3044\u3066\u306f\u7279\u306b\u6c7a\u307e\u308a\u306f\u306a\u304f\u3001\u4f7f\u3046\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u74b0\u5883\u306b\u3088\u3063\u3066\u3082\u7570\u306a\u308b\u306e\u3067\u3001\u30e6\u30fc\u30b6\u304c\u81ea\u5206\u3067\u6c7a\u3081\u308b\u3057\u304b\u306a\u3044\u306e\u3060\u304c\u3001UNIX\/Linux\u7cfb\u306eOS\u3067\u306f\u3001\u500b\u4eba\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u914d\u4e0b\u306b &#8220;.ssh&#8221; \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3001\u305d\u306e\u4e2d\u306b\u79d8\u5bc6\u9375\u3084SSH\u63a5\u7d9a\u3067\u5fc5\u8981\u3068\u306a\u308b\u5404\u7a2e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u3053\u3068\u304c\u4e00\u822c\u7684\u3060\uff0e\u3053\u306e\u8fba\u306e\u8a2d\u5b9a\u306b\u95a2\u3057\u3066\u306f\u3001\u30e6\u30fc\u30b6\u306e\u30b9\u30ad\u30eb\u304c\u30a2\u30c3\u30d7\u3057\u3066\u884c\u304f\u306b\u5f93\u3063\u3066\u3001\u81ea\u5206\u3067\u8272\u3005\u3068\u5de5\u592b\u3057\u3066\u884c\u304f\u3079\u304d\u4e8b\u9805\u306a\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u4e00\u3064\u306e\u4f8b\u3068\u3057\u3066\u53c2\u8003\u306b\u3057\u3066\u6b32\u3057\u3044\uff0e<\/p>\r\n<br>\r\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306e\u64cd\u4f5c\u306b\u4e0d\u6163\u308c\u306a\u4eba\u306e\u305f\u3081\u306b\u304b\u306a\u308a\u5197\u9577\u306a\u8aac\u660e\u3068\u306a\u308b\u304c\u3001\u884c\u3063\u3066\u3044\u308b\u4f5c\u696d\u5185\u5bb9\u306f\u304d\u3061\u3093\u3068\u7406\u89e3\u3057\u3066\u304a\u3044\u3066\u6b32\u3057\u3044\uff0eUNIX\/Linux\u7cfb\u306e\u4e16\u754c\u3067\u306fMac\u3084Windows\u3067\u8a00\u3046\u3068\u3053\u308d\u306e\u201d\u30d5\u30a9\u30eb\u30c0\u201d\u306e\u3053\u3068\u3092\u201d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u201d\u3068\u3044\u3046\u540d\u524d\u3067\u547c\u3093\u3067\u3044\u308b\u304c\u3001\u3053\u3053\u3067\u306f\u521d\u5fc3\u8005\u304c\u99b4\u67d3\u307f\u3084\u3059\u3044\u3088\u3046\u306b\u201d\u30d5\u30a9\u30eb\u30c0\u201d\u3068\u3044\u3046\u547c\u3073\u65b9\u3067\u7d71\u4e00\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<h5> 1. &#8220;Terminal\uff08\u30bf\u30fc\u30df\u30ca\u30eb\uff09&#8221; \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u3001\u81ea\u5206\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u69cb\u6210\u3092\u78ba\u8a8d\u3059\u308b<\/h5>\r\n<br>\r\n<p>\u4eca\u56de\u306f\u3001\u8aac\u660e\u306e\u305f\u3081\u306b\u65b0\u898f\u306b &#8220;y2&#8221; \u3068\u3044\u3046\u30e6\u30fc\u30b6\u30a2\u30ab\u30a6\u30f3\u30c8\uff08\u30a2\u30c9\u30df\u30f3\u6a29\u9650\u6709\u308a\uff09\u3092\u4f5c\u6210\u3057\u305f\u72b6\u614b\u3067\u4f5c\u696d\u3092\u884c\u3063\u305f\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\nLast login: Sun Jan 13 13:16:14 on console\r\niMac27:~ y2$ ls -la  \uff08\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u69cb\u6210\u3092 \"ls\" \u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\uff09\r\ntotal 8\r\ndrwxr-xr-x+ 14 y2    staff   448 Jan 13 13:21 .\r\ndrwxr-xr-x   8 root  admin   256 Jan 13 13:15 ..\r\n-r--------   1 y2    staff     7 Jan 13 13:16 .CFUserTextEncoding\r\ndrwx------   2 y2    staff    64 Jan 13 13:16 .Trash\r\ndrwx------   3 y2    staff    96 Jan 13 13:21 .bash_sessions\r\ndrwxrwxrwx   3 y2    staff    96 Jan 13 13:16 .mono\r\ndrwx------+  5 y2    staff   160 Jan 13 13:21 Desktop\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Documents\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Downloads\r\ndrwx------@ 51 y2    staff  1632 Jan 13 13:19 Library\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Movies\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Music\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Pictures\r\ndrwxr-xr-x+  4 y2    staff   128 Jan 13 13:15 Public\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<h5> 2. \u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u76f4\u4e0b\u306b &#8220;.ssh&#8221; \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30f3\u30c0\u304b\u3089\u306f\u898b\u3048\u306a\u3044\u96a0\u3057\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\uff0e<\/h5>\r\n<br>\r\n<p>\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3001&#8221;.ssh&#8221; \u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\uff08\u5c5e\u6027\uff09\u3092 &#8220;0700&#8221; \u3068\u3057\u3001\u81ea\u5206\u3060\u3051\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\niMac27:~ y2$ mkdir .ssh\u3000\u3000\u3000\u3000\u3000\u3000\uff08\".ssh\"\u96a0\u3057\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\uff09\r\niMac27:~ y2$ chmod 0700 .ssh\u3000\u3000\u3000\uff08\u81ea\u5206\u3060\u3051\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092 \"0700\" \u306b\u8a2d\u5b9a\uff09\r\niMac27:~ y2$ ls -la\r\ntotal 8\r\ndrwxr-xr-x+ 15 y2    staff   480 Jan 13 13:24 .\r\ndrwxr-xr-x   8 root  admin   256 Jan 13 13:15 ..\r\n-r--------   1 y2    staff     7 Jan 13 13:16 .CFUserTextEncoding\r\ndrwx------   2 y2    staff    64 Jan 13 13:16 .Trash\r\ndrwx------   3 y2    staff    96 Jan 13 13:21 .bash_sessions\r\ndrwxrwxrwx   3 y2    staff    96 Jan 13 13:16 .mono\r\ndrwx------   2 y2    staff    64 Jan 13 13:24 .ssh\r\ndrwx------+  5 y2    staff   160 Jan 13 13:21 Desktop\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Documents\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Downloads\r\ndrwx------@ 53 y2    staff  1696 Jan 13 13:23 Library\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Movies\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Music\r\ndrwx------+  3 y2    staff    96 Jan 13 13:15 Pictures\r\ndrwxr-xr-x+  4 y2    staff   128 Jan 13 13:15 Public\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<p> .ssh \u306e\u5de6\u7aef\u304c &#8220;drwx&#8212;&#8212;&#8221; \u3068\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\uff0e\u3053\u308c\u306f\u3001&#8221;.ssh&#8221; \u304c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3001\u81ea\u5206(y2)\u3060\u3051\u304c\u8aad\u307f\u8fbc\u307f &#8220;r&#8221;\u3001\u66f8\u304d\u8fbc\u307f &#8220;w&#8221;\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5b9f\u884c\u6a29 &#8220;x&#8221; \u3092\u6301\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u8868\u3057\u3066\u3044\u308b\uff0e<\/p>\r\n<br>\r\n<h5> 3. \u63a5\u7d9a\u3059\u308b\u30db\u30b9\u30c8\u6bce\u306b\u79d8\u5bc6\u9375\u3092\u7ba1\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3001&#8221;hosts&#8221; \u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\uff0e<\/h5>\r\n<br>\r\n<p>\u3053\u3053\u304b\u3089\u5148\u306f\u3001\u30e6\u30fc\u30b6\u304c\u81ea\u5206\u306e\u6d41\u5100\u3067\u5de5\u592b\u3057\u306a\u304c\u3089\u884c\u3046\u3079\u304d\u3068\u3053\u308d\u3067\u306f\u3042\u308b\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u307e\u306d\u3092\u3059\u308c\u3070\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u5177\u4f53\u7684\u306a\u5b9f\u4f8b\u3067\u8aac\u660e\u3059\u308b\uff0e\u6562\u3048\u3066 &#8220;hosts&#8221; \u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u3063\u3066\u7ba1\u7406\u3059\u308b\u5fc5\u8981\u306f\u5168\u304f\u306a\u304f\u3001\u81ea\u5206\u304c\u63a5\u7d9a\u5148\u30db\u30b9\u30c8\u306e\u79d8\u5bc6\u9375\u60c5\u5831\u3092\u304d\u3061\u3093\u3068\u7ba1\u7406\u3067\u304d\u308c\u3070\u305d\u308c\u3067\u554f\u984c\u306f\u7121\u3044\uff0e\u3053\u3053\u3067\u306f&#8221;hosts&#8221;\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306b\u66f4\u306b\u63a5\u7d9a\u30db\u30b9\u30c8\u7528\u306e\u30d5\u30a9\u30eb\u30c0\u3000&#8221;y2conohawing&#8221; \u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u306b\u79d8\u5bc6\u9375\u3092\u914d\u7f6e\u3057\u3066\u3044\u308b\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\niMac27:~ y2$ cd .ssh\u3000\u3000\u3000\u3000\u3000\u3000\uff08\".ssh\"\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3059\u308b\uff09\r\niMac27:.ssh y2$ mkdir hosts\u3000\u3000\uff08\u65b0\u305f\u306b \"hosts\"\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\uff09\r\niMac27:.ssh y2$ cd hosts\u3000\u3000\u3000\u3000\uff08\"hosts\"\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3059\u308b\uff09\r\niMac27:hosts y2$ mkdir  y2conohawing \uff08\u66f4\u306b \"y2conohawing\"\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\uff09\r\niMac27:hosts y2$ chmod 0700 . y2conohawing\u3000\uff08\"hosts\"\u30d5\u30a9\u30eb\u30c0\u3068\"y2conohawing\"\u30d5\u30a9\u30eb\u30c0\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\uff09\r\niMac27:hosts y2$ ls -la\r\ntotal 0\r\ndrwx------  3 y2  staff  96 Jan 13 13:26 .\r\ndrwx------  3 y2  staff  96 Jan 13 13:25 ..\r\ndrwx------  2 y2  staff  64 Jan 13 13:26 y2conohawing\r\niMac27:hosts y2$ cd y2conohawing\r\niMac27:y2conohawing y2$ ls -la\r\ntotal 0\r\ndrwx------  2 y2  staff  64 Jan 13 13:26 .\r\ndrwx------  3 y2  staff  96 Jan 13 13:26 ..\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<h5> 4. \u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\u3092 &#8220;y2conohawing&#8221;\u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u30b3\u30d4\u30fc\uff08\u79fb\u52d5\uff09\u3057\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u8a2d\u5b9a\u3059\u308b\uff0e<\/h5>\r\n<br>\r\n<p> &#8220;y2conohawing&#8221;\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\uff08\u3067\u304d\u308c\u3070\u30aa\u30ea\u30b8\u30ca\u30eb\u306fUSB\u30e1\u30e2\u30ea\u306a\u3069\u306e\u5916\u90e8\u5a92\u4f53\u306b\u4fdd\u5b58\u3057\u3066\u3001\u6ce8\u610f\u6df1\u304f\u4fdd\u7ba1\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u5968\u3081\u308b\uff09\u3057\u3001\u81ea\u5206\u3060\u3051\u304c\u8aad\u307f\u53d6\u308a\u306e\u307f\u3092\u884c\u3048\u308b\u6a29\u9650 &#8220;0400&#8221; &#8220;-r&#8212;&#8212;-&#8221; \u306b\u5909\u66f4\u3059\u308b\uff0e\u3053\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u304c\u304d\u3061\u3093\u3068\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5074\u3067\u79d8\u5bc6\u9375\u3068\u3057\u3066\u6709\u52b9\u306b\u306a\u3089\u306a\u3044\u5834\u5408\u304c\u6709\u308b\uff0e\u52ff\u8ad6\u3001\u3053\u306e\u79d8\u5bc6\u9375\u306e\u60c5\u5831\u304c\u4ed6\u4eba\u304b\u3089\u8aad\u307f\u53d6\u3089\u308c\u3066\u3057\u307e\u3046\u4e8b\u614b\u3060\u3051\u306f\u7d76\u5bfe\u306b\u9632\u304c\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3053\u3068\u306f\u8a00\u3046\u307e\u3067\u3082\u306a\u3044\u3060\u308d\u3046\uff0e<\/p>\r\n<br>\r\n<br>\r\n<p>\u6b21\u306b\u793a\u3059\u4e8b\u4f8b\u3067\u306f\u3001WEB\u30d6\u30e9\u30a6\u30b6\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a9\u30eb\u30c0\u306e\u6307\u5b9a\u5834\u6240(&#8220;\/Volumes\/Tmp\/Downloads&#8221;\uff09\u306b\u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\u3000&#8221;y2-wing-key-2019-01-13-10-26.pem.txt&#8221; \u304c\u7f6e\u304b\u308c\u3066\u3044\u308b\u5834\u5408\u306e\u4f8b\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5f35\u5b50\u304c\u52dd\u624b\u306b &#8220;.txt&#8221; \u3068\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u30b3\u30d4\u30fc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092 &#8220;y2-wing-key-2019-01-13-10-26.pem&#8221; \u306b\u4fee\u6b63\u3057\u3066\u3042\u308b\uff0e\u9375\u30d5\u30a1\u30a4\u30eb\u306f &#8220;.pem&#8221; \u3084 &#8220;.key&#8221; \u306a\u3069\u306e\u62e1\u5f35\u5b50\u304c\u6163\u4f8b\u7684\u306b\u4f7f\u308f\u308c\u308b\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\niMac27:y2conohawing y2$ cp \/Volumes\/Tmp\/Downloads\/y2-wing-key-2019-01-13-10-26.pem.txt y2-wing-key-2019-01-13-10-26.pem\r\niMac27:y2conohawing y2$ ls -la\r\ntotal 8\r\ndrwx------  3 y2  staff    96 Jan 13 13:30 .\r\ndrwx------  3 y2  staff    96 Jan 13 13:26 ..\r\n-rw-r--r--@ 1 y2  staff  1679 Jan 13 13:30 y2-wing-key-2019-01-13-10-26.pem\r\niMac27:y2conohawing y2$ chmod 0400 y2-wing-key-2019-01-13-10-26.pem\r\niMac27:y2conohawing y2$ ls -la\r\ntotal 8\r\ndrwx------  3 y2  staff    96 Jan 13 13:30 .\r\ndrwx------  3 y2  staff    96 Jan 13 13:26 ..\r\n-r--------@ 1 y2  staff  1679 Jan 13 13:30 y2-wing-key-2019-01-13-10-26.pem\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<p>\u3053\u306e\u72b6\u614b\u3067\u9375\u8a8d\u8a3c\u65b9\u5f0f\u306eSSH\u63a5\u7d9a\u306f\u53ef\u80fd\u3068\u306a\u3063\u3066\u306f\u3044\u308b\u304c\u3001&#8221;Terminal\uff08\u30bf\u30fc\u30df\u30ca\u30eb\uff09&#8221;\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u4f5c\u696d\u3067SSH\u63a5\u7d9a\u3092\u884c\u3046\u306b\u306f\u3001&#8221;ssh&#8221;\u30b3\u30de\u30f3\u30c9\u306e\u5f8c\u308d\u306b\u3082\u306e\u51c4\u304f\u9577\u3044\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a18\u8ff0\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u3068\u3066\u3082\u3084\u3063\u3066\u3089\u308c\u306a\u3044\u306e\u3067\u3001SSH\u63a5\u7d9a\u306e\u305f\u3081\u306e\u5404\u7a2e\u8a2d\u5b9a\u3092\u3042\u3089\u304b\u3058\u3081\u8a18\u8ff0\u3057\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u7c21\u5358\u306bssh\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068\u306b\u3059\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u56e0\u307f\u306b\u3001\u3053\u306e\u72b6\u614b\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089&#8221;ssh&#8221;\u30b3\u30de\u30f3\u30c9\u3067\u63a5\u7d9a\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u9577\u3044\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u5165\u529b\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\uff0e\uff08perl\u95a2\u9023\u306e\u30ed\u30b1\u30fc\u30eb\u8a2d\u5b9a\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066\u306f\u3068\u308a\u3042\u3048\u305a\u6c17\u306b\u3057\u306a\u3044\u3067\u306d\uff09<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\nbash-3.2$ ssh -p <\u30dd\u30fc\u30c8\u756a\u53f7> -l <\u30e6\u30fc\u30b6ID> -i ~\/.ssh\/hosts\/y2conohawing\/y2-wing-key-2019-01-13-10-26.pem www2.conoha.ne.jp\r\nperl: warning: Setting locale failed.\r\nperl: warning: Please check that your locale settings:\r\n\tLANGUAGE = (unset),\r\n\tLC_ALL = (unset),\r\n\tLC_CTYPE = \"UTF-8\",\r\n\tLANG = (unset)\r\n    are supported and installed on your system.\r\nperl: warning: Falling back to the standard locale (\"C\").\r\n[xxxxxxxx@web0002 ~]$ \r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<h5> 5. \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u7c21\u5358\u306bSSH\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u3001SSH\u30db\u30b9\u30c8\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\uff0e<\/h5>\r\n<br>\r\n<p>&#8220;.ssh&#8221;\u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u3001&#8221;config&#8221; \u3068\u3044\u3046\u540d\u524d\u3067SSH\u30db\u30b9\u30c8\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068\u3001\u4e0a\u8a18\u306e\u69d8\u306a\u9577\u3044\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3061\u8fbc\u307e\u306a\u304f\u3066\u3082\u3001&#8221;%ssh y2-conoha&#8221;  \u306e\u3088\u3046\u306a\u7c21\u7565\u306a\u65b9\u6cd5\u3067SSH\u63a5\u7d9a\u304c\u53ef\u80fd\u306a\u306e\u3067\u3001\u305d\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u3088\u3046\uff0e<\/p>\r\n<br>\r\n<p>\u624b\u9806\u306f\u7c21\u5358\u3067\u3001&#8221;config&#8221;\u3068\u3044\u3046\u540d\u524d\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u63a5\u7d9a\u3059\u308b\u30b5\u30fc\u30d0\u6bce\u306b\u9069\u5f53\u306a\u540d\u524d\u3092\u4ed8\u3051\u3066\u3001SSH\u63a5\u7d9a\u306e\u305f\u3081\u306e\u5404\u7a2e\u60c5\u5831\u3092\u8a18\u8ff0\u3059\u308c\u3070\u826f\u3044\uff0e&#8221;config&#8221;\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\niMac27:y2conohawing y2$ cd  ~\/.ssh   \uff08 \".ssh\"\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\uff09\r\niMac27:.ssh y2$ ls -la\r\ntotal 0\r\ndrwx------   3 y2  staff   96 Jan 13 13:25 .\r\ndrwxr-xr-x+ 15 y2  staff  480 Jan 13 13:24 ..\r\ndrwx------   3 y2  staff   96 Jan 13 13:26 hosts\r\niMac27:.ssh y2$ vi config\u3000\uff08\u9069\u5f53\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067 \"config\" \u3068\u3044\u3046\u540d\u524d\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\uff09\r\n\r\n\u3000\u3010\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u306e\u7c21\u5358\u306a\u7de8\u96c6\u4f5c\u696d\u3011\r\n\r\niMac27:.ssh y2$ ls -la\r\ntotal 8\r\ndrwx------   4 y2  staff  128 Jan 13 13:33 .\r\ndrwxr-xr-x+ 16 y2  staff  512 Jan 13 13:33 ..\r\n-rw-r--r--   1 y2  staff  172 Jan 13 13:33 config\r\ndrwx------   3 y2  staff   96 Jan 13 13:26 hosts\r\niMac27:.ssh y2$ chmod 0600 config\r\niMac27:.ssh y2$ ls -la\r\ntotal 8\r\ndrwx------   5 y2  staff  160 Jan 13 13:34 .\r\ndrwxr-xr-x+ 17 y2  staff  544 Jan 13 15:01 ..\r\n-rw-------   1 y2  staff  172 Jan 13 13:33 config\r\ndrwx------   3 y2  staff   96 Jan 13 13:26 hosts\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<p>&#8220;config&#8221;\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001SSH\u63a5\u7d9a\u306e\u305f\u3081\u306e\u7d30\u304b\u306a\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3067\u304d\u308b\u304c\u3001\u4eca\u56de\u306fSSH\u63a5\u7d9a\u30db\u30b9\u30c8\u306b\u95a2\u3059\u308b\u8a18\u8ff0\u3060\u3051\u3092\u7c21\u5358\u306b\u793a\u3059\uff0e\u3053\u3053\u306e\u5185\u5bb9\u306f\u3001ConoHa WING\u306e\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8a18\u3055\u308c\u305fSSH\u63a5\u7d9a\u60c5\u5831\u306b\u5f93\u3063\u3066\u8a18\u8f09\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\nHost  conoha-wing\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08SSH\u63a5\u7d9a\u306e\u305f\u3081\u306e\u8b58\u5225\u540d\uff09\r\n    Hostname  www2.conoha.ne.jp\r\n    IdentityFile  ~\/.ssh\/hosts\/y2conohawing\/y2-wing-key-2019-01-13-10-26.pem\r\n    User      xxxxxxxx \u3000\u3000\u3000\uff08\u81ea\u5206\u306e\u30e6\u30fc\u30b6ID\uff09\r\n    Port      yyyy\u3000\u3000\u3000\u3000\u3000\u3000\uff08\u6307\u5b9a\u3055\u308c\u305f SSH\u63a5\u7d9a\u30dd\u30fc\u30c8\u756a\u53f7\uff1a\u4e00\u822c\u7684\u306a22\u756a\u3067\u306f\u306a\u3044\u306e\u3067\u6ce8\u610f\u3059\u308b\u3053\u3068\uff01\uff09\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<p>\u4eca\u56de\u306f\u63a5\u7d9a\u5148\u304c\uff11\u3064\u306a\u306e\u3067\u3001\uff11\u3064\u306eSSH\u30db\u30b9\u30c8\u60c5\u5831\u3057\u304b\u8a18\u8f09\u3057\u3066\u3044\u306a\u3044\u304c\u3001\u540c\u3058\u5f62\u5f0f\u3067\u63a5\u7d9a\u5148\u30db\u30b9\u30c8\u3092\u8ffd\u8a18\u3057\u3066\u884c\u3051\u3070\u8907\u6570\u306eSSH\u30db\u30b9\u30c8\u3092\u7c21\u5358\u306b\u7ba1\u7406\u3067\u304d\u308b\uff0e<\/p>\r\n<br>\r\n<p>\u305d\u308c\u3067\u306f\u3001\u5148\u307b\u3069\u306e\u9762\u5012\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u63a5\u7d9a\u65b9\u6cd5\u3067\u306f\u306a\u304f\u3001&#8221;~\/.ssh\/config&#8221; \u30d5\u30a1\u30a4\u30eb\u306b\u3088\u308b\u7c21\u5358SSH\u63a5\u7d9a\u3092\u3084\u3063\u3066\u307f\u3088\u3046\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-Markup\">\r\niMac27:.ssh y2$ ssh y2-conohawing\r\nThe authenticity of host '[www2.conoha.ne.jp]:yyyy ([163.44.187.15]:yyyy)' can't be established.\r\nECDSA key fingerprint is SHA256:--------------------------------.\r\nAre you sure you want to continue connecting (yes\/no)? yes\r\nWarning: Permanently added '[www2.conoha.ne.jp]:yyyy,[163.44.187.15]:yyyy' (ECDSA) to the list of known hosts.\r\nperl: warning: Setting locale failed.\r\nperl: warning: Please check that your locale settings:\r\n\tLANGUAGE = (unset),\r\n\tLC_ALL = (unset),\r\n\tLC_CTYPE = \"UTF-8\",\r\n\tLANG = (unset)\r\n    are supported and installed on your system.\r\nperl: warning: Falling back to the standard locale (\"C\").\r\n[xxxxxxxxx@web0002 ~]$ ls -la\r\ntotal 35\r\ndrwx--x---+ 9 xxxxxxxx xxxxxxxx  14 Jan 13 12:20 .\r\ndrwxr-xr-x  3 root     root      22 Jan 13 10:09 ..\r\n-rw-------  1 xxxxxxxx xxxxxxxx  15 Jan 13 12:20 .bash_history\r\n-rw-r--r--  1 xxxxxxxx xxxxxxxx  18 Apr 11  2018 .bash_logout\r\n-rw-r--r--  1 xxxxxxxx xxxxxxxx 193 Apr 11  2018 .bash_profile\r\n-rw-r--r--  1 xxxxxxxx xxxxxxxx 231 Apr 11  2018 .bashrc\r\ndrwxrwx--x  6 xxxxxxxx xxxxxxxx   6 Jan 13 10:09 .cagefs\r\ndrwxr-xr-x  2 xxxxxxxx xxxxxxxx   3 Jan 10 22:06 .cl.selector\r\ndrwxr-x---  2 xxxxxxxx www        2 Jan 10 22:06 .htpasswds\r\ndrwx------  2 xxxxxxxx xxxxxxxx   3 Jan 13 10:38 .ssh\r\n-rw-r--r--  1 xxxxxxxx xxxxxxxx 658 Aug  2  2017 .zshrc\r\ndrwxrwx---  3 xxxxxxxx www        3 Jan 11 21:34 logs\r\ndrwxr-xr-x  2 xxxxxxxx xxxxxxxx   2 Jan 13 10:09 perl5\r\ndrwxr-xr-x  3 xxxxxxxx xxxxxxxx   3 Jan 11 21:34 public_html\r\n[xxxxxxxx@web0002 ~]$ ps -ef\r\nUID          PID    PPID  C STIME TTY          TIME CMD\r\nxxxxxxxx 1115865 1115864  0 13:02 pts\/0    00:00:00 -bash\r\nxxxxxxxx 1187359 1187358  0 13:34 pts\/2    00:00:00 -bash\r\nxxxxxxxx 1187884 1187359  0 13:34 pts\/2    00:00:00 ps -ef\r\n[xxxxxxxx@web0002 ~]$ exit\r\nlogout\r\nConnection to www2.conoha.ne.jp closed.\r\niMac27:.ssh y2$\r\n<\/code>\r\n<\/pre>\r\n<br>\r\n<p>\u5148\u307b\u3069\u306e\u69d8\u306a\u9577\u3044\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u3092\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3067\u3001\u3082\u306e\u51c4\u304f\u697d\u306b\u306a\u308b\u3053\u3068\u304c\u304a\u308f\u304b\u308a\u3044\u305f\u3060\u3051\u305f\u3060\u308d\u3046\u304b\uff0e<\/p>\r\n<br>\r\n<br>\r\n<h4>SFTP\u5bfe\u5fdc\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 &#8220;Transmit 5&#8221; \u3067\u306e\u8a2d\u5b9a\u4f8b<\/h4>\r\n<br>\r\n<p>WEB\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u7c21\u5358\u306b\u7ba1\u7406\u3059\u308b\u306b\u306f\u3001&#8221;Tranmit&#8221;\u306a\u3069\u306eSSH\u306b\u5bfe\u5fdc\u3057\u305fFTP\u7cfb\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5c0e\u5165\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3060\u308d\u3046\uff0e\u4eca\u56de\u306f\u3001Mac\u7528\u306e&#8221;Transmit 5&#8243; \u3067\u306e\u8a2d\u5b9a\u4f8b\u3092\u793a\u3059\u304c\u3001\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3082\u8a2d\u5b9a\u3059\u308b\u9805\u76ee\u306f\u540c\u3058\u306a\u306e\u3067\u3001\u57fa\u672c\u7684\u306a\u8a2d\u5b9a\u4e8b\u9805\u3055\u3048\u7406\u89e3\u3057\u3066\u3044\u308c\u3070\u3069\u306e\u3088\u3046\u306a\u30a2\u30d7\u30ea\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u8a2d\u5b9a\u3067\u304d\u308b\u3053\u3068\u3060\u308d\u3046\uff0e<p>\r\n<br>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/CreateHostConnection-640x356.png\" alt=\"Create SSH Host Connection\" width=\"640\" height=\"356\" class=\"size-medium wp-image-7020\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/CreateHostConnection.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/CreateHostConnection-320x178.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/> \r\n<br>\r\n<span>SSH\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u30db\u30b9\u30c8\u60c5\u5831\u3092\u767b\u9332\u3059\u308b<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/basicSettings-640x356.png\" alt=\"Basic Settings\" width=\"640\" height=\"356\" class=\"size-medium wp-image-7021\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/basicSettings.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/basicSettings-320x178.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>SSH\u63a5\u7d9a\u5148\uff08\u30db\u30b9\u30c8\uff09\u3068\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u756a\u53f7\u3001\u30e6\u30fc\u30b6ID\u3092\u767b\u9332\u3059\u308b<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u6b04\u306e\u53f3\u7aef\u306b\u3042\u308b\u9375\u30de\u30fc\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u79d8\u5bc6\u9375\u3092\u767b\u9332\u3059\u308b\u4f5c\u696d\u3092\u5b9f\u65bd\u3059\u308b\u304c\u3001\u3053\u306e\u8fba\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u6bce\u306b\u304b\u306a\u308a\u7656\u304c\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u3046\u307e\u304f\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u4f7f\u7528\u3059\u308b\u30a2\u30d7\u30ea\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u3084\u30cd\u30c3\u30c8\u306e\u60c5\u5831\u3092\u53c2\u8003\u306b\u3057\u306a\u304c\u3089\u8a66\u884c\u932f\u8aa4\u3057\u3066\u6b32\u3057\u3044\uff0e<\/p>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/ImportKey-640x443.png\" alt=\"Import private key\" width=\"640\" height=\"443\" class=\"size-medium wp-image-7031\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/ImportKey.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/ImportKey-320x222.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>\u79d8\u5bc6\u9375\u3092\u8a2d\u5b9a\uff08\u30a4\u30f3\u30dd\u30fc\u30c8\uff09\u3059\u308b<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SetPrivateKey-640x239.png\" alt=\"Set private key file\" width=\"640\" height=\"239\" class=\"size-medium wp-image-7025\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SetPrivateKey.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SetPrivateKey-320x120.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>\u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\uff08&#8221;~\/.ssh\/hosts\/y2conohawing\/y2-wing-key-2019-01-13-10-26.pem&#8221;\uff09\u3092\u6307\u5b9a<\/span>\r\n<br>\r\n<span>\uff08\u96a0\u3057\u30d5\u30a9\u30eb\u30c0 &#8220;.ssh&#8221; \u304c\u8868\u793a\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3001\u30a2\u30d7\u30ea\u306e\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u306e\u8868\u793a\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\uff09<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyHasBeenSetted.png\" alt=\"Private key setting\" width=\"580\" height=\"468\" class=\"size-full wp-image-7024\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyHasBeenSetted.png 580w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/PrivateKeyHasBeenSetted-320x258.png 320w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/>\r\n<br>\r\n<span>\u79d8\u5bc6\u9375\u3092\u8a2d\u5b9a\u5b8c\u4e86<\/span>\r\n<br>\r\n<br>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHConnectionReady-640x356.png\" alt=\" SSH host setting has been  finished.\" width=\"640\" height=\"356\" class=\"size-medium wp-image-7026\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHConnectionReady.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/SSHConnectionReady-320x178.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/> \r\n<br>\r\n<span>SSH\u63a5\u7d9a\u30db\u30b9\u30c8\u306e\u767b\u9332\u4f5c\u696d\u304c\u5b8c\u4e86<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<p>\u4ee5\u4e0a\u3067\u3001Transmit 5\u3067\u306eSSH\u63a5\u7d9a\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3060\uff0e\u5f8c\u306f\u767b\u9332\u3057\u305f\u63a5\u7d9a\u60c5\u5831\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u8d77\u52d5\u3059\u308b\u3060\u3051\u3067\u7c21\u5358\u306bSSH\u63a5\u7d9a(SFTP)\u304c\u884c\u308f\u308c\u308b\u3053\u3068\u3060\u308d\u3046\uff0e<\/p>\r\n<br>\r\n<br>\r\n<div style=\"width: 100%; margin: 0 auto; text-align: center;\">\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/Connected-640x356.png\" alt=\"Transmit 5 access\" width=\"640\" height=\"356\" class=\"size-medium wp-image-7029\" srcset=\"https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/Connected.png 640w, https:\/\/y2tech.net\/blog\/wp-content\/uploads\/2019\/01\/Connected-320x178.png 320w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/>\r\n<br>\r\n<span>Transmit 5 \u3067SFTP\u63a5\u7d9a\u3092\u884c\u3063\u305f\u69d8\u5b50<\/span>\r\n<br>\r\n<br>\r\n<\/div>\r\n<hr \/>\r\n<h4>FTP\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001\u8a2d\u5b9a\uff08\u4f7f\u3063\u3066\u306f\u30c0\u30e1\uff01\uff01\uff01\uff09<\/h4>\r\n<br>\r\n<p>ConoHa WING\u3067\u306f\u3001FTP\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001\u8a2d\u5b9a\u3082\u53ef\u80fd\u306a\u69d8\u3067\u3059\u304c\u3001\u57fa\u672c\u7684\u306b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3092\u4ecb\u3057\u3066\u306eFTP\u8ee2\u9001\u306f\u3084\u3063\u3066\u306f\u3044\u3051\u306a\u3044\uff0e\u4f55\u6545GMO\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304cFTP\u306b\u3088\u308b\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001\u3092\u53ef\u80fd\u306b\u3057\u3066\u3044\u308b\u306e\u304b\u7406\u89e3\u306b\u82e6\u3057\u3080\u304c\u3001ConoHa WING\u306f\u65b0\u3057\u3044\u30b5\u30fc\u30d3\u30b9\u306a\u306e\u3067\u3001\u30ec\u30ac\u30b7\u30fc\u306aFTP\u6a5f\u80fd\u3092\u7dad\u6301\u3059\u308b\u5fc5\u8981\u306a\u3069\u5168\u304f\u7121\u3044\u306f\u305a\u3060\uff0e\u30ea\u30b9\u30af\u3092\u627f\u77e5\u306e\u4e0a\u3067FTP\u3092\u4f7f\u3044\u305f\u304c\u308b\u3088\u3046\u306a\u30e6\u30fc\u30b6\uff08\u3042\u308b\u3044\u306f\u30ea\u30b9\u30af\u3092\u77e5\u3089\u306a\u3044\u3088\u3046\u306a\u7121\u77e5\u306a\u30e6\u30fc\u30b6\uff09\u306f\u7a4d\u6975\u7684\u306b\u6392\u9664\u3057\u3066\u6b32\u3057\u3044\uff0e<\/p>\r\n<p>GMO\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306f ConoHa WING\u30b5\u30fc\u30d3\u30b9\u304b\u3089 FTP\u30a2\u30af\u30bb\u30b9\u6a5f\u80fd\u306e\u63d0\u4f9b\u3092\u65e9\u6025\u306b\u6b62\u3081\u308b\u3079\u304d\u3060\uff0e<\/p>","protected":false},"excerpt":{"rendered":"WEB\u30b5\u30fc\u30d0\u306e\u74b0\u5883\u306e\u30c1\u30a7\u30c3\u30af\u304c\u7d42\u308f\u3063\u305f\u3068\u3053\u308d\u3067\u3001WEB\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u7dad\u6301\u7ba1\u7406\u306b\u5fc5\u8981\u3068\u306a\u308bSSH\u3084FTP\u3067\u306e\u63a5\u7d9a\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306eWEB\u30b5\u30fc\u30d0\u3078\u306e\u30ed\u30b0\u30a4\u30f3\u65b9\u6cd5\u306a\u3069\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u304a\u304f","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[11],"tags":[829,832],"class_list":["post-7003","post","type-post","status-publish","format-standard","hentry","category-web","tag-conoha-wing","tag-ssh"],"_links":{"self":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/7003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/comments?post=7003"}],"version-history":[{"count":2,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/7003\/revisions"}],"predecessor-version":[{"id":7084,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/7003\/revisions\/7084"}],"wp:attachment":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/media?parent=7003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/categories?post=7003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/tags?post=7003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}