From 6155b5873cfc9790c9a0a3a424ac7cf08b72f52b Mon Sep 17 00:00:00 2001 From: Yanbing Date: Thu, 11 May 2017 18:18:48 -0700 Subject: [PATCH] Updated Install Win32 OpenSSH (markdown) --- Install-Win32-OpenSSH.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index 04cf57f..d368233 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -10,9 +10,9 @@ * Install sshd and ssh-agent services. * `powershell -executionpolicy bypass -file install-sshd.ps1` * Setup SSH host keys - * `.\ssh-keygen.exe -A` (This will generate all the 'host' keys that sshd expects when its starts. The generated 'host' keys are [secured][Secure file] starting from build v0.0.13.0.) + * `.\ssh-keygen.exe -A` (This will generate all [secured][Secure file] 'host' keys (starting from build [v0.0.13.0][build13]).) * If existing host keys are used instead of generate new, make sure they are [secured][Secure file]. -* (Required starting build v0.0.13.0. ) Grant "NT service\sshd" Read access the host key files: +* (Required starting build [v0.0.13.0][build13]. ) Grant "NT service\sshd" Read access the host key files: ``` Get-ChildItem -Path 'C:\Program Files\OpenSSH\ssh_host_*_key*' | % { $acl = get-acl $_.FullName @@ -50,4 +50,5 @@ netsh advfirewall firewall add rule name='SSH Port' dir=in action=allow protocol * Uninstall * `powershell.exe -executionpolicy bypass -file uninstall-sshd.ps1` -[Secure file]: https://github.com/PowerShell/Win32-OpenSSH/wiki/Security-protection-of-various-files-in-win32-openssh \ No newline at end of file +[Secure file]: https://github.com/PowerShell/Win32-OpenSSH/wiki/Security-protection-of-various-files-in-win32-openssh +[build13]: https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v0.0.13.0 \ No newline at end of file