Differences

This shows you the differences between the selected revisions of the page.

2019-06-19 2019-07-05
win10 anchor (martin) Better (141.31.128.194) (hidden) (untrusted)
Line 20: Line 20:
  * As the Administrator, install //sshd// and //ssh-agent// services: \\ ''powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1''   * As the Administrator, install //sshd// and //ssh-agent// services: \\ ''powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1''
-===== Configuring SSH server ===== +FU
- +
-  * Allow incoming connections to %%SSH%% server in Windows Firewall: +
-    * Either run the following PowerShell command (Windows 8 and 2012 or newer only), &win8 &win2012 as the Administrator: \\ ''%%New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH SSH Server' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22%%'' +
-    * or go to //Control Panel > System and Security > Windows Firewall//((//Windows Defender Firewall// on Windows 10.))// > Advanced Settings > Inbound Rules// and add a new rule for port 22. &wincp +
-  * Start the service and/or configure automatic start: +
-    * Go to //Control Panel > System and Security > Administrative Tools// and open //Services//. Locate //%%OpenSSH SSH Server%%// service. &wincp +
-    * If you want the server to start automatically when your machine is started: Go to //Action > Properties//. In the Properties dialog, change //Startup type// to //Automatic// and confirm. +
-    * Start the //%%OpenSSH SSH Server%%// service by clicking the //Start the service//. +
- +
-//These instructions are partially based on [[https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH|the official deployment instructions]].//+
===== [[key_authentication]] Setting up SSH public key authentication ===== ===== [[key_authentication]] Setting up SSH public key authentication =====

Last modified: by 141.31.128.194