{"id":14012,"date":"2023-08-21T06:00:58","date_gmt":"2023-08-20T21:00:58","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14012"},"modified":"2023-08-26T09:46:50","modified_gmt":"2023-08-26T00:46:50","slug":"windows-10%e3%81%abopenssh%e3%82%b5%e3%83%bc%e3%83%90%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/14012","title":{"rendered":"Windows 10\u306bOpenSSH\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>Windows 10\u306bOpenSSH\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>OpenSSH\u30b5\u30fc\u30d0\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u7ba1\u7406\u8005\u7528\u306ePowerShell\u3092\u8d77\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u901a\u5e38\u3001OpenSSH.Client\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001OpenSSH.Server\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n&gt; Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'\r\n\r\n\r\nName  : OpenSSH.Client~~~~0.0.1.0\r\nState : Installed\r\n\r\nName  : OpenSSH.Server~~~~0.0.1.0\r\nState : NotPresent\r\n<\/pre>\n<h2>OpenSSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>OpenSSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n&gt; Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0\r\n\r\n\r\nPath          :\r\nOnline        : True\r\nRestartNeeded : False\r\n<\/pre>\n<h2>OpenSSH\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>OpenSSH\u30b5\u30fc\u30d0\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n&gt; Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0\r\n\r\n\r\nPath          :\r\nOnline        : True\r\nRestartNeeded : False\r\n<\/pre>\n<h2>OpenSSH\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/h2>\n<p>OpenSSH\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n&gt; Start-Service sshd\r\n&gt; Get-Service sshd\r\n\r\nStatus   Name               DisplayName\r\n------   ----               -----------\r\nRunning  sshd               OpenSSH SSH Server\r\n<\/pre>\n<p>\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n&gt; Set-Service -Name sshd -StartupType 'Automatic'\r\n<\/pre>\n<h2>OpenSSH\u30b5\u30fc\u30d0\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>OpenSSH\u30b5\u30fc\u30d0\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n&gt; Remove-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0\r\n\r\n\r\nPath          :\r\nOnline        : True\r\nRestartNeeded : True\r\n<\/pre>\n<h2>OpenSSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>OpenSSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3082\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n&gt; Remove-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0\r\n\r\n\r\nPath          :\r\nOnline        : True\r\nRestartNeeded : True\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Windows 10\u3067\u306f\u3001PowerShell\u3067OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304a\u3088\u3073\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14015\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011SSH\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u3092\u64cd\u4f5c\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/06\/fia0000001-150x150.gif\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011SSH\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u3092\u64cd\u4f5c\u3059\u308b\uff01<\/div><div class=\"substr\">SSH\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 10\u306bOpenSSH\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[926],"tags":[323,244,133,928,52,461],"class_list":["post-14012","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssh","tag-openssh","tag-windows","tag-windows-10","tag-928","tag-52","tag-461"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=14012"}],"version-history":[{"count":7,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14012\/revisions"}],"predecessor-version":[{"id":14217,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14012\/revisions\/14217"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=14012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}