cywin安装sshd一定提示输入密码,如下:

$ssh-host-config

..

***Info:Pleaseenterapasswordfornewuserssh_service.Pleasebesure

***Info:thatthispasswordmatchesthepasswordrulesgivenonyoursystem.

***Info:Enteringnopasswordwillexittheconfiguration.

***Query:Pleaseenterthepassword:

***Query:Pleaseenterthepassword:

***Query:Pleaseenterthepassword:

这里一直不成功,Ctrl-C退出,运行

/usr/sbin/sshd

就启动了ssh服务器了