Der OpenSSH-Client und der OpenSSH-Server sind unter
Windows Server 2019 und Windows 10 installierbare Komponenten.
Benutzer mit diesen Windows-Versionen
sollten die folgenden Anweisungen zum Installieren und Konfigurieren von OpenSSH
befolgen.
PowerShell als Administrator ausführen und in das Verzeichnis:
navigieren.
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
# This should return the following output:
Name : OpenSSH.Client~~~~0.0.1.0
State : NotPresent
Name : OpenSSH.Server~~~~0.0.1.0
State : NotPresent
# Install the OpenSSH Client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
# Install the OpenSSH Server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# Both of these should return the following output:
Path :
Online : True
RestartNeeded : False
Ssh username@servername