{"id":1921,"date":"2024-03-05T20:20:19","date_gmt":"2024-03-05T11:20:19","guid":{"rendered":"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=1921"},"modified":"2024-03-15T15:54:51","modified_gmt":"2024-03-15T06:54:51","slug":"%e3%80%8cchan_shutdown_read-channel-1-shutdown-failed-for-fd-7-i0-o0-not-a-socket%e3%80%8d%e3%81%a8%e6%80%92%e3%82%89%e3%82%8c%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=1921","title":{"rendered":"\u300cchan_shutdown_read: channel 1: shutdown() failed for fd 7 [i0 o0]: Not a socket\u300d\u3068\u6012\u3089\u308c\u308b"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">chan_shutdown_read: channel 1: shutdown() failed for fd 7 [i0 o0]: Not a socket<\/pre>\n\n\n\n<p>ubustsu\u306elinux\u30b5\u30fc\u30d0(VPS)\u304b\u3089github\u306b\u3064\u306a\u3052\u3088\u3046\u3068\u3057\u305f\u3089\u4e0a\u8a18\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p><strong>\u203b2024\/3\/15\u624b\u9806\u8ffd\u8a18<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u74b0\u5883<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d0<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ubuntu 22.04.4 LTS \\n \\l<\/li>\n\n\n\n<li>OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u64cd\u4f5c\u7aef\u672b<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows11<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u539f\u56e0<\/h2>\n\n\n\n<p>\u304a\u305d\u3089\u304f<a href=\"https:\/\/serverfault.com\/questions\/1113797\/ssh-agent-forwarding-not-working-on-ubuntu-22-04\" data-type=\"link\" data-id=\"https:\/\/serverfault.com\/questions\/1113797\/ssh-agent-forwarding-not-working-on-ubuntu-22-04\">\u3053\u3061\u3089<\/a>\u306b\u3042\u308bWindows\u5074\u3067\u306essh-agent\u304c\u60aa\u3055\u3057\u3066\u3044\u308b\u3088\u3046\u3002<\/p>\n\n\n\n<p>\u4e8b\u8c61\u7684\u306b\u306fWindows\u5074\u306essh-agent\u304cForwardAgent yes\u8a2d\u5b9a\u306b\u3066\u30ab\u30ae\u3092\u3082\u3063\u3066\u30b5\u30fc\u30d0\u306b\u5165\u3063\u3066\u3044\u308b\u3051\u3069\u305d\u3044\u3064\u304c\u898b\u308c\u306a\u304f\u306a\u3063\u3066\u8981\u308b\u3063\u307d\u3044<\/p>\n\n\n\n<p>\u304d\u3061\u3093\u3068\u76f4\u3059\u306a\u3089\u3070<a href=\"https:\/\/blog.zencoffee.org\/2022\/11\/openssh-on-windows-11\/\" data-type=\"link\" data-id=\"https:\/\/blog.zencoffee.org\/2022\/11\/openssh-on-windows-11\/\">\u3053\u3061\u3089<\/a>\u306e\u5bfe\u5fdc\u3067\u3044\u3051\u305f\u305d\u3046<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5bfe\u51e6<\/h2>\n\n\n\n<p>Windows\u5074\u306essh-agent\u306e\u554f\u984c\u3089\u3057\u3044\u306e\u3067\u30d9\u30fc\u30bf\u306b\u5909\u3048\u305f\u3089\u89e3\u6d88\u3057\u305f\u3063\u307d\u3044\u3002\uff08\u7d30\u304b\u3044\u539f\u56e0\u8ffd\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3061\u3087\u3063\u3068\u602a\u3057\u3044\uff09<\/p>\n\n\n\n<p>\u624b\u9806\u3068\u3057\u3066\u306f\u7ba1\u7406\u8005\u6a29\u9650\u306ePowerShell\u3067\u4ee5\u4e0b\u3092\u9806\u6b21\u5b9f\u65bd<\/p>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307fOPENSSH\u306e\u524a\u9664<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-27428978e65d8eb918ccd57984784ac3\"><code>PS C:\\WINDOWS\\system32&gt; Remove-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0                                                                                                                                                        \nPath          :\nOnline        : True\nRestartNeeded : True\n\n\n\nPS C:\\WINDOWS\\system32&gt; Remove-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0\n\n\nPath          :\nOnline        : True\nRestartNeeded : False<\/code><\/pre>\n\n\n\n<p>Microsoft.OpenSSH.Beta\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-0fd36b6b14eda523f8c098b2a5f1eb36\"><code>PS C:\\WINDOWS\\system32&gt; winget install Microsoft.OpenSSH.Beta\n\u898b\u3064\u304b\u308a\u307e\u3057\u305f OpenSSH Beta &#91;Microsoft.OpenSSH.Beta] \u30d0\u30fc\u30b8\u30e7\u30f3 9.5.0.0\n\u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u6240\u6709\u8005\u304b\u3089\u30e9\u30a4\u30bb\u30f3\u30b9\u4f9b\u4e0e\u3055\u308c\u307e\u3059\u3002\nMicrosoft \u306f\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5bfe\u3057\u3066\u8cac\u4efb\u3092\u8ca0\u308f\u305a\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u3082\u4ed8\u4e0e\u3057\u307e\u305b\u3093\u3002\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d https:\/\/github.com\/PowerShell\/Win32-OpenSSH\/releases\/download\/v9.5.0.0p1-Beta\/OpenSSH-Win64-v9.5.0.0.msi\n  \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588  5.47 MB \/ 5.47 MB\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u30cf\u30c3\u30b7\u30e5\u304c\u6b63\u5e38\u306b\u691c\u8a3c\u3055\u308c\u307e\u3057\u305f\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u958b\u59cb\u3057\u3066\u3044\u307e\u3059...\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\n\n<\/code><\/pre>\n\n\n\n<p><strong>\u203b2024\/3\/15\u624b\u9806\u8ffd\u8a18<\/strong><\/p>\n\n\n\n<p>1\u9031\u9593\u307b\u3069\u3057\u305f\u3089vscode\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089ssh\u304c\u901a\u3089\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u3002\u30d1\u30b9\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u6614\u306eC:\\Windows\\system32\\OpenSSH\u3092\u6307\u3057\u3066\u3044\u3066\u3001\u4eca\u306eC:\\Program Files\\OpenSSH\u3092\u6307\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u500b\u4eba\u7528\u74b0\u5883\u5909\u6570\u306bC:\\Program Files\\OpenSSH\u3092\u8ffd\u52a0\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7d30\u304b\u3044\u3068\u3053\u308d\u3067\u30011\u9031\u9593\u3050\u3089\u3044\u305f\u3063\u3066\u901a\u3089\u306a\u304f\u306a\u3063\u305f\u306e\u3067Windows\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u7b49\u3067\u66f8\u304d\u63db\u308f\u3063\u305f\u53ef\u80fd\u6027\u3082\u3042\u308b\u3002C:\\Windows\\system32\\OpenSSH\u306f\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u74b0\u5883\u5909\u6570\u306b\u5165\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u305d\u3061\u3089\u304c\u307e\u305f\u66f8\u304d\u63db\u308f\u308b\u53ef\u80fd\u6027\u3092\u8003\u3048\u500b\u4eba\u7528\u306e\u74b0\u5883\u5909\u6570\u306e\u65b9\u306b\u5165\u308c\u3066\u307f\u305f\u3002\uff08\u3069\u308c\u3060\u3051\u52b9\u679c\u3042\u308b\u304b\u3084\u672c\u5f53\u306bWindowsUpdate\u7d61\u307f\u304b\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044\u3002\u307e\u305f\u304a\u304b\u3057\u304f\u306a\u3063\u305f\u3089\u3053\u308c\u307f\u3066\u601d\u3044\u51fa\u3059\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>chan_shutdown_read: channel 1: shutdown() failed for fd 7 [i0 o0]: Not a socket ubustsu\u306elinux\u30b5\u30fc\u30d0(VPS)\u304b\u3089github\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-1921","post","type-post","status-publish","format-standard","hentry","category-58"],"_links":{"self":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/1921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1921"}],"version-history":[{"count":5,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/1921\/revisions"}],"predecessor-version":[{"id":2009,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/1921\/revisions\/2009"}],"wp:attachment":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}