{"id":34663,"date":"2019-10-31T21:59:41","date_gmt":"2019-10-31T18:59:41","guid":{"rendered":"https:\/\/prohoster.info\/blog\/podklyuchenie-k-windows-po-ssh-kak-v-linux\/"},"modified":"2019-10-31T21:59:41","modified_gmt":"2019-10-31T18:59:41","slug":"podklyuchenie-k-windows-po-ssh-kak-v-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/podklyuchenie-k-windows-po-ssh-kak-v-linux","title":{"rendered":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u043a\u044a\u043c Windows \u043f\u043e SSH, \u043a\u0430\u043a\u0442\u043e \u0432 Linux","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u0412\u0438\u043d\u0430\u0433\u0438 \u043c\u0435 \u0435 \u0443\u0433\u043d\u0435\u0442\u044f\u0432\u0430\u043b\u043e \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u0441 Windows \u043c\u0430\u0448\u0438\u043d\u0438. \u041d\u0435 \u0441\u044a\u043c \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u043d\u0430 Microsoft \u0438 \u0442\u0435\u0445\u043d\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438. \u0412\u0441\u0435\u043a\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u0441\u044a\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0437\u0430 \u0441\u0432\u043e\u044f \u0446\u0435\u043b, \u043d\u043e \u043d\u0435 \u0441\u0442\u0430\u0432\u0430 \u0432\u044a\u043f\u0440\u043e\u0441 \u0437\u0430 \u0442\u043e\u0432\u0430.<br \/>\n\u0417\u0430 \u043c\u0435\u043d \u0432\u0438\u043d\u0430\u0433\u0438 \u0435 \u0431\u0438\u043b\u043e \u043c\u044a\u0447\u0438\u0442\u0435\u043b\u043d\u043e \u0434\u0430 \u0441\u0435 \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043c \u0441\u044a\u0441 \u0441\u044a\u0440\u0432\u044a\u0440\u0438 \u043d\u0430 Windows, \u0437\u0430\u0449\u043e\u0442\u043e \u0442\u0435\u0437\u0438 \u0432\u0440\u044a\u0437\u043a\u0438 \u0438\u043b\u0438 \u0441\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u0442 \u043f\u043e \u043c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u0435\u043d \u043d\u0430\u0447\u0438\u043d (\u0437\u0434\u0440\u0430\u0432\u0435\u0439 WinRM \u0441 HTTPS), \u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u044f\u0442 \u043d\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u043d\u043e (\u0437\u0434\u0440\u0430\u0432\u0435\u0439 RDP \u0437\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0438 \u0437\u0430\u0434 \u043e\u043a\u0435\u0430\u043d\u0430).<\/p>\n<p>\u0417\u0430\u0442\u043e\u0432\u0430, \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0430\u0442\u044a\u043a\u0432\u0430\u0439\u043a\u0438 \u0441\u0435 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/PowerShell\/Win32-OpenSSH\">Win32-OpenSSH<\/a><\/noindex>, \u0440\u0435\u0448\u0438\u0445 \u0434\u0430 \u0441\u043f\u043e\u0434\u0435\u043b\u044f \u043e\u043f\u0438\u0442\u0430 \u0441\u0438 \u043e\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0442\u0430. \u041c\u043e\u0436\u0435 \u0431\u0438 \u043d\u0430 \u043d\u044f\u043a\u043e\u0439 \u0449\u0435 \u043c\u0443 \u0441\u043f\u0435\u0441\u0442\u0438 \u043a\u0443\u043f \u043d\u0435\u0440\u0432\u0438.<\/p>\n<p><img decoding=\"async\" alt=\"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u043a\u044a\u043c Windows \u043f\u043e SSH, \u043a\u0430\u043a\u0442\u043e \u0432 Linux\" src=\"\/wp-content\/uploads\/2019\/05\/0f42089eb1cac646e11eaa841a1eb26d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u0438 \u0437\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0435:<\/p>\n<ol>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/PowerShell\/Win32-OpenSSH\/wiki\/Install-Win32-OpenSSH\">\u0420\u044a\u0447\u043d\u043e<\/a><\/noindex><\/li>\n<li>\u0427\u0440\u0435\u0437 <noindex><a rel=\"nofollow\" href=\"https:\/\/chocolatey.org\/packages\/openssh\">\u043f\u0430\u043a\u0435\u0442<\/a><\/noindex> Chocolatey<\/li>\n<li>\u0427\u0440\u0435\u0437 Ansible, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u043e\u043b\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/galaxy.ansible.com\/jborean93\/win_openssh\">jborean93.win_openssh<\/a><\/noindex><\/li>\n<\/ol>\n<p>\n\u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u0449\u0435 \u0440\u0430\u0437\u043a\u0430\u0436\u0430 \u0437\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0442\u043e\u0447\u043a\u0430, \u0442\u044a\u0439 \u043a\u0430\u0442\u043e \u0441 \u043e\u0441\u0442\u0430\u043d\u0430\u043b\u0438\u0442\u0435 \u0438 \u0431\u0435\u0437 \u0442\u043e\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u043e \u0435 \u043f\u043e-\u0438\u043b\u0438 \u043f\u043e-\u043c\u0430\u043b\u043a\u043e \u044f\u0441\u043d\u043e.<\/p>\n<p>\u0418\u0441\u043a\u0430\u043c \u0434\u0430 \u043e\u0442\u0431\u0435\u043b\u0435\u0436\u0430, \u0447\u0435 \u0442\u043e\u0437\u0438 \u043f\u0440\u043e\u0435\u043a\u0442 \u0432\u0441\u0435 \u043e\u0449\u0435 \u0435 \u0432 \u0431\u0435\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f, \u0437\u0430\u0442\u043e\u0432\u0430 \u043d\u0435 \u0441\u0435 \u043f\u0440\u0435\u043f\u043e\u0440\u044a\u0447\u0432\u0430 \u0434\u0430 \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0432 \u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u044f.<\/p>\n<p>\u0418 \u0442\u0430\u043a\u0430, \u0441\u0432\u0430\u043b\u044f\u043c\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f, \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u0442\u043e\u0432\u0430 \u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/PowerShell\/Win32-OpenSSH\/releases\/tag\/v7.9.0.0p1-Beta\">7.9.0.0p1-beta<\/a><\/noindex>. \u0418\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 \u043a\u0430\u043a\u0442\u043e \u0437\u0430 32, \u0442\u0430\u043a\u0430 \u0438 \u0437\u0430 64 \u0431\u0438\u0442\u043e\u0432\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0438.<\/p>\n<p>\u0420\u0430\u0437\u043f\u0430\u043a\u043e\u0432\u0430\u043c\u0435 \u0432 <i>C:Program FilesOpenSSH<\/i><br \/>\n\u0417\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u0435\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0437\u0430 \u043a\u043e\u0440\u0435\u043a\u0442\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430: \u043f\u0440\u0430\u0432\u0430\u0442\u0430 \u0437\u0430 \u0437\u0430\u043f\u0438\u0441 \u0432 \u0442\u0430\u0437\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u0430 \u0441\u0430\u043c\u043e \u0437\u0430 <i>SYSTEM<\/i> \u0438 \u0437\u0430 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0441\u043a\u0430\u0442\u0430 \u0433\u0440\u0443\u043f\u0430.<\/p>\n<p>\u0418\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043c\u0435 \u0443\u0441\u043b\u0443\u0433\u0438\u0442\u0435 \u0441\u044a\u0441 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 <i>install-sshd.ps1<\/i> , \u043d\u0430\u043c\u0438\u0440\u0430\u0449 \u0441\u0435 \u0432 \u0442\u0430\u0437\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f<\/p>\n<pre><code class=\"plaintext\">powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1<\/code><\/pre>\n<p>\n\u0420\u0430\u0437\u0440\u0435\u0448\u0430\u0432\u0430\u043c\u0435 \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0442\u0435 \u0432\u0440\u044a\u0437\u043a\u0438 \u043d\u0430 \u043f\u043e\u0440\u0442 22:<\/p>\n<pre><code class=\"plaintext\">New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22<\/code><\/pre>\n<p>\n\u0423\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435: \u0430\u043f\u043b\u0435\u0442\u044a\u0442 <i>New-NetFirewallRule<\/i> \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0432 Windows Server 2012 \u0438 \u043f\u043e-\u043d\u043e\u0432\u0438 \u0432\u0435\u0440\u0441\u0438\u0438. \u0412 \u043f\u043e-\u0441\u0442\u0430\u0440\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0438 (\u0438\u043b\u0438 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0438) \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430:<\/p>\n<pre><code class=\"plaintext\">netsh advfirewall firewall add rule name=sshd dir=in action=allow protocol=TCP localport=22\n<\/code><\/pre>\n<p>\n\u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043c\u0435 \u0443\u0441\u043b\u0443\u0433\u0430\u0442\u0430:<\/p>\n<pre><code class=\"plaintext\">net start sshd<\/code><\/pre>\n<p>\n\u041f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u0449\u0435 \u0431\u044a\u0434\u0430\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0430\u043d\u0438 \u0445\u043e\u0441\u0442-\u043a\u043b\u044e\u0447\u043e\u0432\u0435 (\u0430\u043a\u043e \u043d\u0435 \u043f\u0440\u0438\u0441\u044a\u0441\u0442\u0432\u0430\u0442) \u0432 <i>%programdata%ssh<\/i><\/p>\n<p>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e\u0442\u043e \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0443\u0441\u043b\u0443\u0433\u0430\u0442\u0430 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0430 \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0442\u0430:<\/p>\n<pre><code class=\"plaintext\">Set-Service sshd -StartupType Automatic<\/code><\/pre>\n<p>\n\u0421\u044a\u0449\u043e \u0442\u0430\u043a\u0430, \u043c\u043e\u0436\u0435\u043c \u0434\u0430 \u0441\u043c\u0435\u043d\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u0442\u0430 \u043e\u0431\u0432\u0438\u0432\u043a\u0430 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435 (\u0441\u043b\u0435\u0434 \u0438\u043d\u0441\u0442\u0430\u043b\u0430\u0446\u0438\u044f\u0442\u0430, \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435 \u2014 <i>cmd<\/i>):<\/p>\n<pre><code class=\"plaintext\">New-ItemProperty -Path \"HKLM:SOFTWAREOpenSSH\" -Name DefaultShell -Value \"C:WindowsSystem32WindowsPowerShellv1.0powershell.exe\" -PropertyType String -Force<\/code><\/pre>\n<p>\n\u0423\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435: \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0435 \u0434\u0430 \u0441\u0435 \u0443\u043a\u0430\u0437\u0432\u0430 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u0435\u043d \u043f\u044a\u0442.<\/p>\n<p>\u041a\u0430\u043a\u0432\u043e \u0441\u043b\u0435\u0434\u0432\u0430?<\/p>\n<p>\u0410 \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u0432\u0430\u043c\u0435 <i>sshd_config<\/i>, \u043a\u043e\u044f\u0442\u043e \u0441\u0435 \u043d\u0430\u043c\u0438\u0440\u0430 \u0432 <i>C:ProgramDatassh<\/i>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"plaintext\">PasswordAuthentication no\nPubkeyAuthentication yes<\/code><\/pre>\n<p>\n\u0418 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u0432 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0441\u043a\u0430\u0442\u0430 \u043f\u0430\u043f\u043a\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f <i>.ssh<\/i>, \u0430 \u0432 \u043d\u0435\u044f \u0444\u0430\u0439\u043b <i>authorized_keys<\/i>. \u0422\u0443\u043a \u0437\u0430\u043f\u0438\u0441\u0432\u0430\u043c\u0435 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0438\u0442\u0435 \u043a\u043b\u044e\u0447\u043e\u0432\u0435.<\/p>\n<p>\u0412\u0430\u0436\u043d\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435: \u043f\u0440\u0430\u0432\u043e\u0442\u043e \u0434\u0430 \u0437\u0430\u043f\u0438\u0441\u0432\u0430\u0442\u0435 \u0432 \u0442\u043e\u0437\u0438 \u0444\u0430\u0439\u043b \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0438\u043c\u0430 \u0441\u0430\u043c\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044f\u0442, \u0432 \u0447\u0438\u044f\u0442\u043e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0441\u0435 \u043d\u0430\u043c\u0438\u0440\u0430 \u0444\u0430\u0439\u043b\u044a\u0442.<\/p>\n<p>\u041d\u043e \u0430\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430, \u0432\u0438\u043d\u0430\u0433\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u0430\u0432\u0430\u0442\u0430 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0442\u0430:<\/p>\n<pre><code class=\"plaintext\">StrictModes no<\/code><\/pre>\n<p>\n\u041c\u0435\u0436\u0434\u0443 \u0434\u0440\u0443\u0433\u043e\u0442\u043e, \u0432 <i>C:Program FilesOpenSSH<\/i> \u0438\u043c\u0430 2 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 (<i>FixHostFilePermissions.ps1<\/i>, <i>FixUserFilePermissions.ps1<\/i>), \u043a\u043e\u0438\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430, \u043d\u043e \u043d\u0435 \u0435 \u0437\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e \u0434\u0430 \u043a\u043e\u0440\u0438\u0433\u0438\u0440\u0430\u0442 \u043f\u0440\u0430\u0432\u0430\u0442\u0430, \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u043d\u043e \u0438 \u0441 <i>authorized_keys<\/i>, \u043d\u043e \u043f\u043e \u043d\u044f\u043a\u0430\u043a\u0432\u0430 \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043d\u0435 \u0433\u0438 \u043a\u043e\u0440\u0438\u0433\u0438\u0440\u0430\u0442.<\/p>\n<p>\u041d\u0435 \u0437\u0430\u0431\u0440\u0430\u0432\u044f\u0439\u0442\u0435 \u0434\u0430 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0442\u0435 \u0443\u0441\u043b\u0443\u0433\u0430\u0442\u0430 <i>sshd<\/i> \u0441\u043b\u0435\u0434 \u0442\u043e\u0432\u0430, \u0437\u0430 \u0434\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u0442\u0435 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435.<\/p>\n<pre><code class=\"bash\">ru-mbp-666:infrastructure$ ssh Administrator@192.168.1.10 -i ~\\\/ssh\\\/id_rsa\nWindows PowerShell\nCopyright (C) 2016 Microsoft Corporation. \u0412\u0441\u0438\u0447\u043a\u0438 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u043f\u0430\u0437\u0435\u043d\u0438.\n\nPS C:UsersAdministrator&gt; Get-Host\n\n\nName             : ConsoleHost\nVersion          : 5.1.14393.2791\nInstanceId       : 653210bd-6f58-445e-80a0-66f66666f6f6\nUI               : System.Management.Automation.Internal.Host.InternalHostUserInterface\nCurrentCulture   : en-US\nCurrentUICulture : en-US\nPrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy\nDebuggerEnabled  : True\nIsRunspacePushed : False\nRunspace         : System.Management.Automation.Runspaces.LocalRunspace\n\nPS C:UsersAdministrator&gt;<\/code><\/pre>\n<p>\n\u0421\u0443\u0431\u0435\u043a\u0442\u0438\u0432\u043d\u0438 \u043f\u043b\u044e\u0441\u043e\u0432\u0435\/\u043c\u0438\u043d\u0443\u0441\u0438.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0438\u043c\u0441\u0442\u0432\u0430:<\/p>\n<ul>\n<li>\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0435\u043d \u043f\u043e\u0434\u0445\u043e\u0434 \u0437\u0430 \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u0441\u044a\u0441 \u0441\u044a\u0440\u0432\u044a\u0440\u0438.<br \/>\n<i>\u041a\u043e\u0433\u0430\u0442\u043e \u0438\u043c\u0430\u0442\u0435 \u043c\u0430\u043b\u043a\u043e Windows \u043c\u0430\u0448\u0438\u043d\u0438, \u043c\u043d\u043e\u0433\u043e \u0435 \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e, \u043a\u043e\u0433\u0430\u0442\u043e:<br \/>\n\u0422\u0430\u043a\u0430, \u0442\u0443\u043a \u0432\u043b\u0438\u0437\u0430\u043c\u0435 \u043f\u043e ssh, \u0430 \u0442\u0443\u043a rdp,<br \/>\n\u0438 \u0438\u0437\u043e\u0431\u0449\u043e \u043d\u0430\u0439-\u0434\u043e\u0431\u0440\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u0441 \u0431\u0430\u0441\u0442\u0438\u043e\u043d\u0438\u0442\u0435, \u043f\u044a\u0440\u0432\u043e ssh \u0442\u0443\u043d\u0435\u043b, \u0430 \u0441\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 RDP.<\/i><\/li>\n<li>\u041b\u0435\u0441\u043d\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u0430\u043d\u0435<br \/>\n<i>\u0421\u043c\u044f\u0442\u0430\u043c, \u0447\u0435 \u0442\u043e\u0432\u0430 \u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e.<\/i><\/li>\n<li>\u0421\u043a\u043e\u0440\u043e\u0441\u0442 \u043d\u0430 \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043e\u0442\u0434\u0430\u043b\u0435\u0447\u0435\u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0430<br \/>\n<i>\u041d\u044f\u043c\u0430 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u043d \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0441\u043f\u0435\u0441\u0442\u044f\u0432\u0430\u0442 \u0441\u0435 \u043a\u0430\u043a\u0442\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0438 \u043d\u0430 \u0441\u044a\u0440\u0432\u044a\u0440\u0430, \u0442\u0430\u043a\u0430 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u0442\u043e \u043f\u0440\u0435\u0434\u0430\u0432\u0430\u043d\u0438 \u0434\u0430\u043d\u043d\u0438.<\/i><\/li>\n<\/ul>\n<p>\n\u041c\u0438\u043d\u0443\u0441\u0438:<\/p>\n<ul>\n<li>\u041d\u0435 \u0437\u0430\u043c\u0435\u0441\u0442\u0432\u0430 \u043d\u0430\u043f\u044a\u043b\u043d\u043e RDP.<br \/>\n<i>\u041d\u0435 \u0432\u0441\u0438\u0447\u043a\u043e \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u0438 \u043e\u0442 \u043a\u043e\u043d\u0437\u043e\u043b\u0430\u0442\u0430, \u0443\u0432\u0438. \u0413\u043e\u0432\u043e\u0440\u044f \u0437\u0430 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0430\u0442\u043e \u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c GUI.<\/i><\/li>\n<\/ul>\n<p>\n\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0438, \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0438 \u0432 \u0441\u0442\u0430\u0442\u0438\u044f\u0442\u0430:<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/PowerShell\/Win32-OpenSSH\">\u041b\u0438\u043d\u043a \u043a\u044a\u043c \u0441\u0430\u043c\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442<\/a><\/noindex><br \/>\n\u041e\u043f\u0446\u0438\u0438 \u0437\u0430 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0435 \u0441\u0430 \u0431\u0435\u0437\u0441\u0440\u0430\u043c\u043d\u043e \u043a\u043e\u043f\u0438\u0440\u0430\u043d\u0438 \u043e\u0442 <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.ansible.com\/ansible\/latest\/user_guide\/windows_setup.html#installing-win32-openssh\">Ansible docs<\/a><\/noindex>.<br \/>\n<br \/>\u0418\u0437\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/453676\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041c\u0435\u043d\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0434\u0440\u0443\u0447\u0430\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Windows \u043c\u0430\u0448\u0438\u043d\u0430\u043c. \u041d\u0435\u0442, \u044f \u043d\u0435 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u0438 \u043d\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a Microsoft \u0438 \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432. \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u0446\u0435\u043b\u0438, \u043d\u043e \u0440\u0435\u0447\u044c \u043d\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c. \u0414\u043b\u044f \u043c\u0435\u043d\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u043c\u0443\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c \u0441 Windows, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043b\u0438\u0431\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043e\u0434\u043d\u043e \u043c\u0435\u0441\u0442\u043e (\u043f\u0440\u0438\u0432\u0435\u0442 WinRM \u0441 HTTPS) \u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":26116,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-34663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u0435\u043d\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0434\u0440\u0443\u0447\u0430\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Windows \u043c\u0430\u0448\u0438\u043d\u0430\u043c. \u041d\u0435\u0442, \u044f \u043d\u0435 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u0438 \u043d\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a Microsoft \u0438 \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/podklyuchenie-k-windows-po-ssh-kak-v-linux\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"bg_BG\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Windows \u043f\u043e SSH \u043a\u0430\u043a \u0432 Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u0435\u043d\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0434\u0440\u0443\u0447\u0430\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Windows \u043c\u0430\u0448\u0438\u043d\u0430\u043c. \u041d\u0435\u0442, \u044f \u043d\u0435 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u0438 \u043d\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a Microsoft \u0438 \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/podklyuchenie-k-windows-po-ssh-kak-v-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:59:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:59:41+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435 \u0441 Windows \u043f\u043e SSH \u043a\u0430\u0442\u043e \u0432 Linux | ProHoster","description":"\u0412\u0438\u043d\u0430\u0433\u0438 \u0441\u044a\u043c \u0431\u0438\u043b \u0440\u0430\u0437\u043e\u0447\u0430\u0440\u043e\u0432\u0430\u043d \u043e\u0442 \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u0441 Windows \u043c\u0430\u0448\u0438\u043d\u0438. \u041d\u0435, \u043d\u0435 \u0441\u044a\u043c \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u0438 \u043d\u0435 \u0441\u044a\u043c \u043f\u043e\u0434\u043a\u0440\u0435\u043f\u044f\u0449 \u043d\u0430 Microsoft \u0438 \u0442\u0435\u0445\u043d\u0438\u0442\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438.","canonical_url":"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/podklyuchenie-k-windows-po-ssh-kak-v-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"bg_BG","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Windows \u043f\u043e SSH \u043a\u0430\u043a \u0432 Linux | ProHoster","og:description":"\u041c\u0435\u043d\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0434\u0440\u0443\u0447\u0430\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a Windows \u043c\u0430\u0448\u0438\u043d\u0430\u043c. \u041d\u0435\u0442, \u044f \u043d\u0435 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u0438\u043a \u0438 \u043d\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a Microsoft \u0438 \u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432.","og:url":"https:\/\/prohoster.info\/bg\/blog\/administrirovanie\/podklyuchenie-k-windows-po-ssh-kak-v-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:59:41+00:00","article:modified_time":"2019-10-31T18:59:41+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"34663","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 20:08:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:17:23","updated":"2026-01-21 20:08:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/posts\/34663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/comments?post=34663"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/posts\/34663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/media\/26116"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/media?parent=34663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/categories?post=34663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/bg\/wp-json\/wp\/v2\/tags?post=34663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}