mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-27 16:04:46 +02:00
Changed instructions to make clear that the setup-ssh-lsa.cmd must be run via cmd.exe, not PowerShell.
parent
6b66b39eb5
commit
9e86a6e147
@ -10,8 +10,10 @@
|
|||||||
* `New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH`
|
* `New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH`
|
||||||
* If you need key-based authentication:
|
* If you need key-based authentication:
|
||||||
* Install key-auth package
|
* Install key-auth package
|
||||||
* run setup-ssh-lsa.cmd
|
|
||||||
* reboot
|
* cmd /k setup-ssh-lsa.cmd
|
||||||
|
* Restart-Computer
|
||||||
|
|
||||||
* Install and run daemon as NT Service running as Local System
|
* Install and run daemon as NT Service running as Local System
|
||||||
* `.\sshd.exe install`
|
* `.\sshd.exe install`
|
||||||
* `Start-Service sshd`
|
* `Start-Service sshd`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user