Skip to content

Instantly share code, notes, and snippets.

@Jake-Shadle
Created April 4, 2019 08:16
Show Gist options
  • Save Jake-Shadle/a2e9d08b07c38e1c942b31dcceaa0d5a to your computer and use it in GitHub Desktop.
Save Jake-Shadle/a2e9d08b07c38e1c942b31dcceaa0d5a to your computer and use it in GitHub Desktop.
Installs/enables the Windows Server 2019 OpenSSH service and agent
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