New-ItemProperty -Path "HKLM:SOFTWAREOpenSSH" -Name DefaultShell -Value "C:WindowsSystem32WindowsPowerShellv1.0powershell.exe" -PropertyType String -Force
参考官方文档:Configuring the default shell for OpenSSH in Windows
最后
以上就是平常大米最近收集整理的关于SSH连接Windows默认启用Powershell的全部内容,更多相关SSH连接Windows默认启用Powershell内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复