Activate OpenSSH on Windows

From wikieduonline
Revision as of 12:48, 15 April 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
 Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 (Using (*) seems not to be working: [[Add-WindowsCapability]] -Online -Name OpenSSH.Server*)
 Start-Service sshd
 Set-Service -Name sshd -StartupType 'Automatic'

In one line:

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

Activities


Related commands

See also

Advertising: