执行下面几行命令试试看:$ mkpasswd -l > /etc/passwd$ mkgroup -l > /etc/group$ cygrunsrv -R sshd 删除ssd服务$ ssh-host-config -y 重新配置$ cygrunsrv -S sshd 启动服务