mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 05:55:41 +02:00
Updated Install Win32 OpenSSH (markdown)
parent
546fe6041a
commit
129029336f
@ -9,9 +9,9 @@
|
||||
* If you do see 22 occupied, [#610](https://github.com/PowerShell/Win32-OpenSSH/issues/610) has workarounds to deal with port conflict.
|
||||
* Install sshd and ssh-agent services.
|
||||
* `powershell -executionpolicy bypass -file install-sshd.ps1`
|
||||
* Setup SSH host keys (this will generate all the 'host' keys that sshd expects when its starts)
|
||||
* Setup SSH host keys (This will generate all the 'host' keys that sshd expects when its starts. The 'host' keys only have current user as owner and full control by default.)
|
||||
* `.\ssh-keygen.exe -A`
|
||||
* Grant "NT service\sshd" read access the host private key files:
|
||||
* (This step is required starting build v0.0.13.0. ) Grant "NT service\sshd" read access the host private key files:
|
||||
```
|
||||
Get-ChildItem -Path 'C:\Program Files\OpenSSH\ssh_host_*_key' | % {
|
||||
$acl = get-acl $_.FullName
|
||||
|
Loading…
x
Reference in New Issue
Block a user