Skip to content

Instantly share code, notes, and snippets.

@nzbart
Created June 23, 2020 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nzbart/bbb0aba96bcb3fa252cc4dec0826c179 to your computer and use it in GitHub Desktop.
Save nzbart/bbb0aba96bcb3fa252cc4dec0826c179 to your computer and use it in GitHub Desktop.
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
ssh-keyscan localhost | ssh-keygen -lf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment