From 2319423011baec5cf0991965b9a31fb18c750fdf Mon Sep 17 00:00:00 2001 From: Jeffery Date: Fri, 16 May 2025 07:13:56 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E7=9F=A5=E8=AD=98?= =?UTF-8?q?=E5=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- %E7%9F%A5%E8%AD%98%E5%BA%AB.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/%E7%9F%A5%E8%AD%98%E5%BA%AB.md b/%E7%9F%A5%E8%AD%98%E5%BA%AB.md index 3bb0028..4952259 100644 --- a/%E7%9F%A5%E8%AD%98%E5%BA%AB.md +++ b/%E7%9F%A5%E8%AD%98%E5%BA%AB.md @@ -1,5 +1,13 @@ # Windows +## OpenSSH + +### 將 OpenSSH 的預設工具改為 Powershell + +```powershell +New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe" -PropertyType String -Force +``` + ## Hyper V ### 啟用 KVM