Skip to content

Instantly share code, notes, and snippets.

@vitran96
Last active August 23, 2020 01:42
Show Gist options
  • Save vitran96/209763b7505aecfa3f447c3bf1ccd8ae to your computer and use it in GitHub Desktop.
Save vitran96/209763b7505aecfa3f447c3bf1ccd8ae to your computer and use it in GitHub Desktop.
Windows 10 OpenSSH with PowerShell (Admin)
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Set-Service -Name sshd -StartupType 'Automatic'
Get-NetFirewallRule -Name *ssh*
Get-Service sshd
Start-Service sshd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment