delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/04/08:17:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <32779981.post@talk.nabble.com>
Date: Fri, 4 Nov 2011 05:17:02 -0700 (PDT)
From: gabier <gab DOT net110 AT orange DOT fr>
To: cygwin AT cygwin DOT com
Subject: Can't get sshd to work
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pA4CHPmx014116

Hi everybody,
First post here, I am a Cygwin newbie. I try to implement ssh connectivity
between my Windows 7 desktop and a FreeBSD/FreeNAS server.
Openssh shell commands seem to work, but sshd is not running and thus
network commands issued from the server abort because of connection refused.
The sshd windows service is automatically started at windows startup, but it
is not running. If I start the service by Windows command, it starts and
stops immediately (Windows saying).

If I start it at the command line with ssh I tried 2 ways

$ /usr/sbin/sshd.exe
/etc/sshd_config: No such file or directory

$cygrunsrv  --start sshd
cygrunsrv: Error starting a service: OpenService:  Win32 error 5:
Accès refusé.

I searched this forum but I am lost in the variety of parameters and reasons
of not working, as well as different versions.
In fact I downloaded the cygwin setup, and installed the default packages,
and afterwards I installed the openssh package (5.9).
What is to be done in order to debug this problem ? Is sshd simply lacking a
sshd_config file ? Then how to build it ?

:) Gabier
-- 
View this message in context: http://old.nabble.com/Can%27t-get-sshd-to-work-tp32779981p32779981.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019