Difference between revisions of "Activate OpenSSH on Windows"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 7: Line 7:
 
  Set-Service -Name sshd -StartupType 'Automatic'
 
  Set-Service -Name sshd -StartupType 'Automatic'
 
</pre>
 
</pre>
 +
 +
In one line: <code>(Add-WindowsCapability -Online -Name OpenSSH.Server[[User:Welcome|Welcome]] ([[User talk:Welcome|talk]]) 12:47, 15 April 2020 (UTC)0.0.1.0) -and (Start-Service sshd) -and (Set-Service -Name sshd -StartupType 'Automatic')</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 12:47, 15 April 2020

 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.ServerWelcome (talk) 12:47, 15 April 2020 (UTC)0.0.1.0) -and (Start-Service sshd) -and (Set-Service -Name sshd -StartupType 'Automatic')

Activities


Related commands

See also

Advertising: