delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/09/23:42:55

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

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/

- Raw text -


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