X-Recipient: archive-cygwin AT delorie DOT 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 To: cygwin AT cygwin DOT com Subject: Re: Connection timed out Message-ID: <20101030113633.GA4715@jethro.local.lan> References: <30090311 DOT post AT talk DOT nabble DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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--