Eu encontrei a solução para este problema, apague usuário "cyg_server" e "sshd" do arquivo passwd, eu acho que é / etc / passwd.
Eu removi o serviço sshd e excluí a conta de usuário privilegiada criada pelo script. Agora eu quero reinstalar o sshd e estou tendo problemas com o script ssh-host-config.
Ele ainda encontra o usuário "cyg_server" e quer usá-lo para instalar o sshd, mas a conta não existe porque foi excluída.
*** Warning: cyg_server is in /etc/passwd, but the local
*** Warning: machine's SAM does not know about cyg_server.
*** Warning: Perhaps cyg_server is a pre-existing domain account.
*** Warning: Continuing, but check if this is ok.
*** 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.
*** Info: Note that creating a new user requires that the current account
*** Info: have Administrator privileges itself.
*** Info: The following privileged accounts were found: 'cyg_server' .
*** Info: This script plans to use 'cyg_server'.
*** Info: 'cyg_server' will only be used by registered services.
*** Query: Do you want to use a different name? (yes/no)
Meu sistema é o Windows 7 Ultimate, com Cygwin e openSSH.
P: O que devo fazer, então o script cria o usuário privilegiado "cyg_server" novamente?