From 6caa5cb626dc7278ff26ab959b64b8335dc92a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B3=BB=E7=B5=B1=E7=AE=A1=E7=90=86=E5=93=A1?= Date: Fri, 6 Mar 2026 05:56:07 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20Service=EF=BC=9AOpenSSH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service%EF%BC%9AOpenSSH.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Service%EF%BC%9AOpenSSH.md diff --git a/Service%EF%BC%9AOpenSSH.md b/Service%EF%BC%9AOpenSSH.md new file mode 100644 index 0000000..460f45c --- /dev/null +++ b/Service%EF%BC%9AOpenSSH.md @@ -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 +``` \ No newline at end of file