ssh由于登录失败而无法启动--cygwin安装过程中

在安装cygwin的时候,执行ssh-host-config后显示如下:

ssh由于登录失败而无法启动--cygwin安装过程中

木有后面要求输入的内容:

*** Warning: The following functions require administrator privileges!

*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes
*** Query: Enter the value of CYGWIN for the daemon: [] ntsec tty
*** Info: On Windows Server 2003, Windows Vista, and above, the
*** Info: SYSTEM account cannot setuid to other users -- a capability
*** Info: sshd requires.  You need to have or to create a privileged
*** Info: account.  This script will help you do so.

*** Info: You appear to be running Windows XP 64bit, Windows 2003 Server,
*** Info: or later.  On these systems, it's not possible to use the LocalSystem
*** Info: account for services that can change the user id without an
*** Info: explicit password (such as passwordless logins [e.g. public key
*** Info: authentication] via sshd).


*** Info: If you want to enable that functionality, it's required to create
*** Info: a new account with special privileges (unless a similar account
*** Info: already exists). This account is then used to run these special
*** Info: servers.

以上内容均未出现,在执行net start sshd的时候出现以下问题:

发生系统错误 1069。
由于登录失败而无法启动服务。

-- 这是由于用户密码输入错误导致的,以后更改用户后sshd也可能发生这个问题,在 services.msc 里的登录标签里更改用户设置即可!

ssh由于登录失败而无法启动--cygwin安装过程中

输入账号和密码,启动过程中报如下错误:

ssh由于登录失败而无法启动--cygwin安装过程中

在cygwin上面启动老是报错,说无法cygwin无法启动,也木有报具体什么原因,那么只有改成administrator登录,再次尝试就ok了~

相关推荐