From ebade13f4991dbc4677eb7592c5fc8f6ea08d15f Mon Sep 17 00:00:00 2001 From: Trick van Staveren Date: Sat, 12 Dec 2015 13:17:27 +0000 Subject: [PATCH] Add PowerShell commands for how to set the service to start at boot time. --- Deploy-Win32-OpenSSH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deploy-Win32-OpenSSH.md b/Deploy-Win32-OpenSSH.md index 21523f9..4b4a1dd 100644 --- a/Deploy-Win32-OpenSSH.md +++ b/Deploy-Win32-OpenSSH.md @@ -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. \ No newline at end of file + * Make the service start on boot (PowerShell): `Set-Service sshd -StartupType Automatic` \ No newline at end of file