X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: SSHD Problems
Date:  Fri, 6 Jun 2008 09:25:16 +0200
Lines: 23
Message-ID: <g2aopn$qln$1@ger.gmane.org>
References:  <20080605233804.GA9068@vmzoo.zooid.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset="utf-8"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

*  (Thu, 5 Jun 2008 19:38:04 -0400)
> Hi, I'm having problems setting up sshd using cygwin on my windows xp
> machine. I've run out of ideas, so if anyone can suggest troubleshooting
> tips or any other kind of help, I'd really appreciate it.
> 
> I've installed sshd to run as a windows service. I can ssh to localhost
> or 127.0.0.1, but attempts to ssh to my external IP address return
> 'connection refused' error messages. I've tried from a remote machine
> with the same results.
> 
> I have tried turning off the windows firewall and connecting the
> computer directly to the modem (to avoid the router), but still get the
> same error.
> 
> I have Windows XP SP3. I've created a firewall exception for port 22 and
> forwarded port 22 on the router (but get the same results even without
> these in the picture). I have also tried listing my externalIP address
> as a 'ListenAddress' in the sshd_config file.

Make sure that sshd actually listens on this address (netstat). Also 
look into the event logs and /var/log/ssh (or similar).

Thorsten


--
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/

