Tech/WindowsProductivity.md
... ...
@@ -45,6 +45,7 @@ New-Alias grep select-string
45 45
# AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys
46 46
```
47 47
- `Set-Service sshd -StartupType Automatic`
48
+- `New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe" -PropertyType String -Force`
48 49
- `Restart-Service sshd`
49 50
50 51
# Scoop