|
|
| (9 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| =Installation latest Powershell Version=
| | *[[WINDOWS SSHD Installation]] |
| *https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2#msi
| | *[[WINDOWS SSHD Github-Installation]] |
| | |
| =Vorbereitung=
| |
| *https://github.com/PowerShell/Win32-OpenSSH/releases
| |
| *Zip herunterladen -> enthält benötigte OpenSSHUtils
| |
| **Die Dateien FixHostFilePermissions.ps1, OpenSSHUtils.psm1 und OpenSShUtils.psd1 entpacken und in das OpenSSH-Verzeichnis unterhalb von %SystemRoot%\System32 kopieren.
| |
| *Powerhell in dem Verzeichnis öffnen und folgenden Befehl eingeben | |
| .\FixHostFilePermissions.ps1 -Confirm:$false
| |
| =SSHD Config=
| |
| *Entfernen des Kommentarzeichens '#' am Beginn der Zeilen
| |
| PubkeyAuthentication yes
| |
| | |
| PasswordAuthentication yes
| |
| | |
| *Hinzufügen des Eintrags
| |
| **Der Pfad muss natürlich auf das Verzeichnis verweisen, in dem man PowerShell Core tatsächlich installiert hat.
| |
| Subsystem powershell c:/program files/powershell/6.0.0-rc/pwsh.exe -sshs -NoLogo -NoProfile
| |