This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problem installing cygwin+sshd
- From: Chuck <skilover at bluebottle dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 20 Feb 2007 11:37:28 -0500
- Subject: Re: problem installing cygwin+sshd
- References: <4750-32499@sneakemail.com>
Michael wrote:
> Hello,
>
> I'm trying to install cygwin+sshd on a WinXPPro-machine, but get an
> error, when starting the service.
> It would be great, if someone is able to help me find a hint for a
> solution for this problem!
>
> Here a summary what I did:
> - logged in with domain-user with local admin privileges
> - installed cygwin
> - - to c:\cygwin
> - - for all users
> - - with packages openssh v4.5p1-1, tcp_wrappers v7.6-1
> - added env-var CYGWIN and added cygwin-dir to PATH
> - started cygwin and "ssh-host-config"
> - - privilege separation -> yes
> - - create local user sshd -> yes
> - - install sshd as a service -> yes
> - net start sshd
> =>
>
> --cut--
> $ net start sshd
> The CYGWIN sshd service is starting.
> The CYGWIN sshd service could not be started.
>
> The service did not report an error.
>
> More help is available by typing NET HELPMSG 3534.
> --cut--
>
> - cygrunsrv --start sshd
> =>
>
> --cut--
> $ cygrunsrv --start sshd
> cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
> The service has not been started.
> --cut--
>
>
> other infos:
> ###
> eventvwr:
> --cut--
> Die Beschreibung der Ereigniskennung ( 0 ) in ( sshd ) wurde nicht
> gefunden. Der lokale Computer verfügt nicht über die zum Anzeigen der
> Meldungen von einem Remotecomputer erforderlichen
> Registrierungsinformationen oder DLL-Meldungsdateien. Möglicherweise
> müssen Sie das Flag /AUXSOURCE= zum Ermitteln der Beschreibung
> verwenden. Weitere Informationen stehen in Hilfe und Support.
> Ereignisinformationen: sshd: PID 3940: `sshd' service stopped, exit
> status: 255.
> --cut--
> ###
> no /var/log/ssh* files (???)
> ###
> file-permissions in /etc:
> ls -l /etc/ssh*
> -rwxr-x--- 1 SYSTEM mkgroup-l-d 1418 Feb 15 03:02 ssh_config
> -rw------- 1 SYSTEM mkgroup-l-d 672 Feb 15 03:02 ssh_host_dsa_key
> -rw-r--r-- 1 SYSTEM mkgroup-l-d 611 Feb 15 03:02 ssh_host_dsa_key.pub
> -rw------- 1 SYSTEM mkgroup-l-d 984 Feb 15 03:02 ssh_host_key
> -rw-r--r-- 1 SYSTEM mkgroup-l-d 648 Feb 15 03:02 ssh_host_key.pub
> -rw------- 1 SYSTEM mkgroup-l-d 1675 Feb 15 03:02 ssh_host_rsa_key
> -rw-r--r-- 1 SYSTEM mkgroup-l-d 403 Feb 15 03:02 ssh_host_rsa_key.pub
> -rw-r--r-- 1 SYSTEM mkgroup-l-d 3039 Feb 15 03:02 sshd_config
> ###
> I also changed the dir-permissions of c:\cygwin, c:\cygwin\var and
> c:\cygwin\var\log for "user" SYSTEM manually
> ###
>
> what else can I check???
>
> any ideas?
>
> thank you very much for any help!
> br
> mik
>
If all you want is an ssh server running under cygwin check out CopSSH.
It might be easier to get running.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/