Created
April 4, 2019 08:16
-
-
Save Jake-Shadle/a2e9d08b07c38e1c942b31dcceaa0d5a to your computer and use it in GitHub Desktop.
Installs/enables the Windows Server 2019 OpenSSH service and agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 | |
Set-Service sshd -StartupType Automatic | |
Set-Service ssh-agent -StartupType Automatic | |
Start-Service sshd | |
Start-Service ssh-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment