mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 22:15:37 +02:00
Add PowerShell commands for how to set the service to start at boot time.
parent
65d237e1cf
commit
ebade13f49
@ -13,4 +13,4 @@
|
||||
* `sshd.exe install`
|
||||
* `net start sshd`
|
||||
* To uninstall - `net stop sshd` ; `sshd.exe uninstall`
|
||||
* If you want the service to run on every reboot, you must set the service to start automatically in Service Control Manager. `sshd.exe install` sets the service to manual start, not automatic startup.
|
||||
* Make the service start on boot (PowerShell): `Set-Service sshd -StartupType Automatic`
|
Loading…
x
Reference in New Issue
Block a user