X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 9 Jun 2008 23:34:49 -0400
From: liminal@vmzoo.zooid.org
To: cygwin@cygwin.com
Subject: SSHD Problems (Continued)
Message-ID: <20080610033449.GA14641@vmzoo.zooid.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.17+20080114 (2008-01-14)
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

I still am unable to connect to my external IP address using ssh, but
can connect fine to localhost.


I used netstat to check that sshd is listening:

$ netstat -ba | grep ssh
  TCP    liminal2:ssh           liminal2:0             LISTENING
  3972
    [sshd.exe]

The sshd.log file is empty.

The system event viewer does not list any errors, but does say:

"The following information is part of the event: sshd: PID 2996: Server
listening on 0.0.0.0 port 22."

Any other suggestions are greatly appreciated.

Thank you.



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

