From d6d5bc25f1e2782eab52707a2e3fd28b2cfacb99 Mon Sep 17 00:00:00 2001 From: manojampalam Date: Tue, 17 May 2016 18:54:35 -0700 Subject: [PATCH] Updated Install Win32 OpenSSH (markdown) --- Install-Win32-OpenSSH.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index aab3343..be438fb 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -4,9 +4,11 @@ * Extract contents to `C:\Program Files\OpenSSH-Win32` * Start Powershell as Administrator * `cd 'C:\Program Files\OpenSSH-Win32'` +* Install sshd and ssh-agent services. + * `powershell.exe .\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 +* Secure SSH host keys (optional) * `net start ssh-agent` * download psexec from [here](https://technet.microsoft.com/en-us/sysinternals/psexec.aspx) * launch cmd.exe as SYSTEM - `psexec.exe -i -s cmd.exe` @@ -22,7 +24,6 @@ * `powershell.exe .\install-sshlsa.ps1` (for Win7 and Server 2008, see [here](https://github.com/PowerShell/Win32-OpenSSH/issues/189)) * `Restart-Computer` - * Install sshd and ssh-agent services. * `powershell.exe .\install-sshd.ps1` * `Start-Service sshd`