Editing Activate OpenSSH on Windows
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
** Install OpenSSH optional capability from Windows interface. | ** Install OpenSSH optional capability from Windows interface. | ||
− | + | <pre> | |
− | + | Add-WindowsCapability -Online -Name OpenSSH.Server 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' | |
− | + | </pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
Line 21: | Line 12: | ||
− | == Related | + | == Related commands == |
− | * <code>[[Get-WindowsCapability]]: | + | * <code>[[Get-WindowsCapability]]: Get-WindowsCapability -Online -name [[OpenSSH]]*</code> |
* <code>[[logoff]]</code> | * <code>[[logoff]]</code> | ||
− | |||
− | |||
== See also == | == See also == |
Advertising: