歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> ssh由於登錄失敗而無法啟動--cygwin安裝過程中

ssh由於登錄失敗而無法啟動--cygwin安裝過程中

日期:2017/2/28 15:43:09   编辑:Linux教程

在安裝cygwin的時候,執行ssh-host-config後顯示如下:


木有後面要求輸入的內容:

*** 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 裡的登錄標簽裡更改用戶設置即可!


輸入賬號和密碼,啟動過程中報如下錯誤:


在cygwin上面啟動老是報錯,說無法cygwin無法啟動,也木有報具體什麼原因,那麼只有改成administrator登錄,再次嘗試就ok了~

Copyright © Linux教程網 All Rights Reserved