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 2: Line 2:
 
** Install OpenSSH optional capability from Windows interface.
 
** Install OpenSSH optional capability from Windows interface.
  
::: <code>Add-WindowsCapability -Online -Name OpenSSH.Server[[User:Welcome|Welcome]] (Using (*) seems not to be working:  <code>[[Add-WindowsCapability]] -Online -Name OpenSSH.Server*</code>)
+
<pre>
::: <code>[[Start-Service]] sshd</code>
+
Add-WindowsCapability -Online -Name OpenSSH.Server OpenSSH.Server~~~~0.0.1.0</code>(Using (*) seems not to be working:  <code>[[Add-WindowsCapability]] -Online -Name OpenSSH.Server*</code>)
:::<code>[[Set-Service]] -Name sshd -StartupType 'Automatic'</code>
+
  <code>[[Start-Service]] sshd</code>
 
+
<code>[[Set-Service]] -Name sshd -StartupType 'Automatic'</code>
 +
</pre>
  
 
== Activities ==
 
== Activities ==

Revision as of 09:40, 14 April 2020

 Add-WindowsCapability -Online -Name OpenSSH.Server OpenSSH.Server~~~~0.0.1.0</code>(Using (*) seems not to be working:  <code>[[Add-WindowsCapability]] -Online -Name OpenSSH.Server*</code>)
  <code>[[Start-Service]] sshd</code>
 <code>[[Set-Service]] -Name sshd -StartupType 'Automatic'</code>

Activities


Related commands

See also

Advertising: