diff --git a/Install-Win32-OpenSSH.md b/Install-Win32-OpenSSH.md index 3486e9a..51b06c2 100644 --- a/Install-Win32-OpenSSH.md +++ b/Install-Win32-OpenSSH.md @@ -40,7 +40,7 @@ On the server side, configure the default ssh shell in the windows registry. * `New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force` - * `New-ItemProperty -Path $registryPath -Name DefaultShellCommandOption -Value "/c" -PropertyType String -Force` + * `New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShellCommandOption -Value "/c" -PropertyType String -Force` ***