mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-27 16:04:46 +02:00
Use powershell rather than 'net start' to be consistent with other commands
parent
9f410db058
commit
5fdb9455aa
@ -14,13 +14,13 @@
|
||||
* reboot
|
||||
* Install and run daemon as NT Service running as Local System
|
||||
* `.\sshd.exe install`
|
||||
* `net start sshd`
|
||||
* `Start-Service sshd`
|
||||
* Make the service start on boot (PowerShell): `Set-Service sshd -StartupType Automatic`
|
||||
|
||||
## Uninstall Win32 OpenSSH
|
||||
|
||||
* Start Powershell as Administrator
|
||||
* Stop the service
|
||||
* `net stop sshd`
|
||||
* `Stop-Service sshd`
|
||||
* Uninstall
|
||||
* `.\sshd.exe uninstall`
|
||||
|
Loading…
x
Reference in New Issue
Block a user