Differences
This shows you the differences between the selected revisions of the page.
2017-03-02 | 2017-03-02 | ||
consistent single-line code example format (martin) | need admin privileges to program files (martin) | ||
Line 8: | Line 8: | ||
* Extract the package to ''C:\Program Files\OpenSSH'' | * Extract the package to ''C:\Program Files\OpenSSH'' | ||
* 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'' | ||
- | * Generate server keys by running the following commands from the ''C:\Program Files\OpenSSH'': \\ ''.\ssh-keygen.exe -A'' | + | * As the Administrator, generate server keys by running the following commands from the ''C:\Program Files\OpenSSH'': \\ ''.\ssh-keygen.exe -A'' |
* Open a port for the %%SSH%% server in Windows Firewall: | * Open a port for the %%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 -Protocol %%TCP%% -LocalPort 22 -Direction Inbound -Action Allow -DisplayName %%SSH%%'' | * Either run the following PowerShell command (Windows 8 and 2012 or newer only), &win8 &win2012 as the Administrator: \\ ''New-NetFirewallRule -Protocol %%TCP%% -LocalPort 22 -Direction Inbound -Action Allow -DisplayName %%SSH%%'' |