bash: ssh-host-config: command not found

こ雲淡風輕ζ 提交于 2020-01-02 03:45:13

问题


Does anyone have ANY ideas what could be causing this.

I am on win 7. I have successfully setup everything using this tutorial:

http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/

I am up to this command:

ssh-host-config

..but I receive the error in the title. I have searched google and many other places. I cannot find one instance of somebody having this problem.

Any ideas?


回答1:


See http://allthingsmarked.com/2006/08/17/how-to-set-up-a-windows-ssh-server-for-vnc-tunneling/

You probably forgot to check the openssh. I forgot this when downloading to a folder using the setup.




回答2:


Don't download all the packages at once I did this and thought everything was fine until I got the same error. Just download the openssh package and make sure the X is in the box, it a big file so could take a while.




回答3:


This error can also happen if you need to add your cygwin\bin path to your windows path. If you add it to your Windows path, you might be all set. I would add it at the end so that you don't potentially mess up other Windows commands.

Make sure to close all shell and Bash windows before trying again. Otherwise the change won't take effect.



来源:https://stackoverflow.com/questions/3496079/bash-ssh-host-config-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!