X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Date: Sat, 30 Oct 2010 13:36:33 +0200
From: David Sastre <d.sastre.medina@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Connection timed out
Message-ID: <20101030113633.GA4715@jethro.local.lan>
References: <30090311.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q"
Content-Disposition: inline
In-Reply-To: <30090311.post@talk.nabble.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 30, 2010 at 12:37:09AM -0700, KeithLaw wrote:
>=20
> Hi,
>=20
> I have set up the ssh server(cygwin) and it works fine for "ssh
> [username]@localhost" in my command prompt  at server but it doesn't work
> for "ssh [username]@192.168.x.xx" which is also localhost. I have turned =
off
> all the windows firewall.
>=20
> The error message is:=20
> ssh: connect to host 192.168.x.xx port 22: Connection timed out
>=20
> Would appreciate if there is any advice.
> Thanks.

Hello,

First off, can you ping that address? can you telnet that port?
Is it listening?

$ ping 192.168.x.x
$ telnet 192.168.x.x 22
$ netstat -an | grep LISTEN

If those tests work as expected, double check the ListenAddress parameter i=
n=20
your sshd_config, your /etc/hosts file, and then try running:

$ ssh -vvv [username]@192.168.x.xx

to see if you can find additional info to debug your problem.

HTH

--=20
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

--Q68bSM7Ycu6FN28Q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzMA0EACgkQYX05bESLMesSIgCgqObo9++eux5ZXlbOqQKpH3Ad
cT0AoIM8rvlxYQjNwMbcwUdYRAdkkT9u
=9woO
-----END PGP SIGNATURE-----

--Q68bSM7Ycu6FN28Q--
