Windows11/ssh

来自OSSmedia
Brucekomike讨论 | 贡献2024年4月10日 (三) 18:57的版本 (创建页面,内容为“配置windows下的ssh == 默认使用 powersehll == New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

配置windows下的ssh

默认使用 powersehll

New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force