‘ssh’ is not recognized as an in operable program or batch file.

问题背景

图片[1] - ‘ssh’ is not recognized as an in operable program or batch file. - 三酷猫笔记

原因分析

SSH不在脚本内工作,并给出错误“SSH”未被识别为内部或外部命令、可操作程序或批处理文件

可能是我们的windows系统并没有安装相应的包。百度了一下SSH的包为OPENSSH。所以安装这个工具包

解决方法

openssh的windows版本下载网址:http://www.mls-software.com/opensshd.html#botpage

1.进入网站,下拉网页,找到自己的版本下载

图片[2] - ‘ssh’ is not recognized as an in operable program or batch file. - 三酷猫笔记

2.点击下载的exe程序,一路安装即可

图片[3] - ‘ssh’ is not recognized as an in operable program or batch file. - 三酷猫笔记
图片[4] - ‘ssh’ is not recognized as an in operable program or batch file. - 三酷猫笔记

完美解决!

图片[5] - ‘ssh’ is not recognized as an in operable program or batch file. - 三酷猫笔记
© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享