delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/30/20:50:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx>
Subject: Re: can't connect to ssh server on windows xp
Date: Thu, 30 Jun 2005 19:50:18 -0500
Lines: 25
Message-ID: <da23h5$k7c$1@sea.gmane.org>
References: <200506302311 DOT j5UNBsel023617 AT citheronia DOT ucdavis DOT edu>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <200506302311.j5UNBsel023617@citheronia.ucdavis.edu>
X-IsSubscribed: yes

Yu-Cheng Chou wrote:

> I installed sshd as a system service on windows xp,
> but I can't connect to this ssh server through ssh.
> The firewall has been turned off. 

By that you mean an external firewall?

> The sshd is listening to port 22.
> But when I tried to connect to this server, the error
> message below occurred.
> 
> ssh: connect to host mouse1 port 22: Connection refused
> 
> Any idea to fix that?

If the answer to my above question is yes, then you have to enable sshd use of
port 22 on Windows XP's own firewall.  Otherwise, I don't know, but "connection
refused" means something is listening on that port and refusing connections so
you should start by looking out what is listening there (netstat -ba | grep
ssh), if it is Cygwin's sshd then check your configuration /etc/sshd_config .

HTH,
-- 
René Berber


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