git 的 SSH 在 Powershell 中不可用

Viv*_*Dev 5 ssh powershell

我已经安装了 posh-git 。在 git bash ssh -v中中可以工作,但在 powershell 中则不行。我错过了什么,我应该做什么。

当我在 powershell 中输入ssh -v时,我在 powershell 中收到以下错误

ssh : The term 'ssh' is not recognized as the name of a cmdlet, function, script file, 
or operable program. Check the spelling of the name, or if a path was included, 
verify that the path is correct and try again.
At line:1 char:1 + ssh -v
+ ~~~
+ CategoryInfo          : ObjectNotFound: (ssh:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)

小智 2

C:\Program Files\Git\usr\bin添加到PATH系统变量