小编Adn*_*hir的帖子

无法使用 Powershell 7 使用 SSH

当我尝试使用 powershell 7 来使用 ssh 时,它会抛出错误:

ssh: The term 'ssh' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Run Code Online (Sandbox Code Playgroud)

powershell 错误

但它在 cmd 和 windows powershell 上运行良好 使用 CMD 工作 使用 Windows Powershell

我还注意到我无法将目录更改为 OpenSSH (C:\Windows\System32\OpenSSH) 无法 cd 到 OpenSSH

我尝试将 Openssh 添加到系统路径,安装 openssh 客户端和服务器,但没有成功。

我该如何修复它?

windows ssh openssh powershell-7

5
推荐指数
1
解决办法
485
查看次数

标签 统计

openssh ×1

powershell-7 ×1

ssh ×1

windows ×1