Changed instructions to make clear that the setup-ssh-lsa.cmd must be run via cmd.exe, not PowerShell.

Joakim Westin 2016-01-13 16:09:15 +01:00
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`