﻿{"id":272,"date":"2020-12-26T21:54:05","date_gmt":"2020-12-26T18:54:05","guid":{"rendered":"https:\/\/fewit.ru\/?p=272"},"modified":"2020-12-26T22:00:16","modified_gmt":"2020-12-26T19:00:16","slug":"windows-server-%d0%b1%d0%b5%d0%b7-gui-%d0%bd%d0%b0%d1%87%d0%b0%d0%bb%d1%8c%d0%bd%d0%b0%d1%8f-%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0","status":"publish","type":"post","link":"https:\/\/fewit.ru\/?p=272","title":{"rendered":"Windows Server \u0431\u0435\u0437 GUI, \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">netsh interface ip set address name=\"Local Area Connection\" static 192.168.1.15 255.255.255.0 192.168.1.1\nnetsh interface ip set dns \"Local Area Connection\" static 8.8.8.8\nnetsh interface ip set address \"Local Area Connection\" dhcp\n\nGet-WindowsCapability -Online | ? Name -like 'OpenSSH*'\nAdd-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0\n\nAdd-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0\n\nStart-Service sshd\n# OPTIONAL but recommended:\nSet-Service -Name sshd -StartupType 'Automatic'\n# Confirm the Firewall rule is configured. It should be created automatically by setup.\nGet-NetFirewallRule -Name *ssh*\n# There should be a firewall rule named \"OpenSSH-Server-In-TCP\", which should be enabled\n# If the firewall does not exist, create one\nNew-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22\nNew-NetFirewallRule -DisplayName \"Allow inbound ICMPv4\" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -Action Allow<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>netsh interface ip set address name=&#187;Local Area Connection&#187; static 192.168.1.15 255.255.255.0 192.168.1.1 netsh interface ip set dns &#171;Local Area Connection&#187;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[56,99,97,98],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-windows","tag-firewall","tag-openssh","tag-ssh","tag-windows-server"],"_links":{"self":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272"}],"version-history":[{"count":5,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/272\/revisions\/278"}],"wp:attachment":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}