我是靠谱客的博主 平常大米,这篇文章主要介绍SSH连接Windows默认启用Powershell,现在分享给大家,希望可以做个参考。

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(62)

评论列表共有 0 条评论

立即
投稿
返回
顶部