找不到命令:在您的计算机上找不到ssh OpenSSH [英] Command not found: ssh OpenSSH not found on your computer

查看:2163
本文介绍了找不到命令:在您的计算机上找不到ssh OpenSSH的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置Ionic pro。但是它给出了一个错误。任何帮助?

I'm trying to set up Ionic pro. But it gives an error.Any help?

我已经安装了 Git Bash 。但是,它仍然显示上面的错误。为什么?

I have installed Git Bash.But still, it shows above error. Why?


我们可以继续吗?是

May we proceed? Yes


ionic ssh generate C:\ Users\lokuge.ssh \ionic\4460 [ERROR]找不到命令:ssh [警告]您的计算机上找不到OpenSSH。 [INFO]您将提示
提供密码短语,用于保护
您的私钥,如果丢失了它。 (如果
某人拥有您的私钥,他们可以冒充您!)建议使用密码短语,但不是必需的。 'ssh-keygen'不是
被识别为内部或外部命令,可操作程序或
批处理文件。 [ERROR]命令未找到:ssh-keygen

ionic ssh generate C:\Users\lokuge.ssh\ionic\4460 [ERROR] Command not found: ssh [WARN] OpenSSH not found on your computer. [INFO] You will be prompted to provide a passphrase, which is used to protect your private key should you lose it. (If someone has your private key, they can impersonate you!) Passphrases are recommended, but not required. 'ssh-keygen' is not recognized as an internal or external command, operable program or batch file. [ERROR] Command not found: ssh-keygen



推荐答案

简单:安装SSH

由于您似乎在Windows上,我建议 Git Bash 。随OpenSSH一起提供。哦,还有Git,显然。

Since you seem to be on Windows, I suggest getting Git Bash. That ships with OpenSSH. Oh, and Git, obviously.

编辑,因为解决方案实际上在评论中:
你必须在Visual Studio中运行导致错误的任何命令来自Git Bash附带的实际Bash 。简单地安装Git Bash但是从VS中运行命令会工作,因为VS假定使用不同的终端仿真器。

Edit, because the solution is actually in the comments: You have to run whatever command is causing the error in Visual Studio from within the actual Bash shipped with Git Bash. Simply installing Git Bash but running the command from within VS does not work, as VS assumedly uses a different terminal emulator.

这篇关于找不到命令:在您的计算机上找不到ssh OpenSSH的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆