From fe59492dbc2d2d169d354deff56b0e4e4b3262e0 Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Tue, 27 Sep 2016 12:24:55 -0700 Subject: [PATCH] Updated Install Win32 OpenSSH (markdown) --- Install-Win32-OpenSSH.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index c36ce80..f3dcf56 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -5,7 +5,7 @@ * Start Powershell as Administrator * `cd 'C:\Program Files\OpenSSH'` * Install sshd and ssh-agent services. - * `powershell.exe .\install-sshd.ps1` + * `powershell -executionpolicy bypass -file install-sshd.ps1` * Setup SSH host keys (this will generate all the 'host' keys that sshd expects when its starts) * `.\ssh-keygen.exe -A` * Secure SSH host keys (optional) @@ -22,7 +22,7 @@ * `New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH` * If you need key-based authentication, run the following to setup the key-auth package - * `powershell -executionpolicy bypass -file install-sshd.ps1` (for Win7 and Server 2008, see [here](https://github.com/PowerShell/Win32-OpenSSH/issues/189)) + * `powershell -executionpolicy bypass -file install-sshlsa.ps1` (for Win7 and Server 2008, see [here](https://github.com/PowerShell/Win32-OpenSSH/issues/189)) * `Restart-Computer` * Set sshd in auto-start mode and open up firewall (optional) * `Set-Service sshd -StartupType Automatic`