Code: Alles auswählen
Match Group *S-1-5-32-544
AuthorizedKeysFile __PROGRAMDATA__/ssh/%u/authorized_keys
Code: Alles auswählen
Match Group *S-1-5-32-544
AuthorizedKeysFile __PROGRAMDATA__/ssh/%u/authorized_keys
Code: Alles auswählen
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force