新增 Service:OpenSSH
5
Service%EF%BC%9AOpenSSH.md
Normal file
5
Service%EF%BC%9AOpenSSH.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# 將 OpenSSH 的預設工具改為 Powershell
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe" -PropertyType String -Force
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user