Activate OpenSSH on Windows

From wikieduonline
Jump to navigation Jump to search

Add-WindowsCapability -Online -Name OpenSSH.Server
Path          :
Online        : True
RestartNeeded : False

Welcome (talk) 08:03, 6 April 2021 (UTC) (Using (*) seems not to be working: Add-WindowsCapability -Online -Name OpenSSH.Server*)

Start-Service sshd*
(no ouput)
Set-Service -Name sshd -StartupType 'Automatic'

Activate OpenSSH with one line command[edit]

(Add-WindowsCapability -Online -Name OpenSSH.Server~~~~ -and (Start-Service sshd) -and (Set-Service -Name sshd -StartupType 'Automatic')


Related terms[edit]

See also[edit]