Win10&11
自带ssh
对于sshd:
# Install the OpenSSH Server
Add-WindowsCapability -Online -Name OpenSSH.Server
# Start the SSH server
Start-Service sshd
# start on startup
Set-Service -Name sshd -StartupType 'Automatic'
# or the even shorter and older...
net start sshd