Skip to content

Instantly share code, notes, and snippets.

@joelsdc
joelsdc / openssh.ps1
Created September 1, 2023 21:18
Windows OpenSSH Install via PowerShell
# Install the OpenSSH Client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
# Install the OpenSSH Server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# Start the sshd service
Start-Service sshd
# Autostart sshd service