Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell中不提供git的SSH_Powershell_Ssh - Fatal编程技术网

Powershell中不提供git的SSH

Powershell中不提供git的SSH,powershell,ssh,Powershell,Ssh,我已经安装了posh git。在GitBash中,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 i

我已经安装了posh git。在GitBash中,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

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

验证C:\Program Files\Git\usr\bin是否在您的路径中(在64位计算机上)。尝试在powershell windows中键入$env:Path。哇..就是这样…非常感谢..并通过运行以下命令进行修复:$env:Path+=“C:\Program Files\Git\usr\bin”hi请参阅此链接以了解ssh问题-[link]()作者已经很好地指导了解决方法