From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26082 invoked by alias); 14 Aug 2011 08:21:44 -0000 Received: (qmail 26063 invoked by uid 22791); 14 Aug 2011 08:21:42 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 14 Aug 2011 08:21:27 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QsV0Y-0004k2-7a for cygwin@cygwin.com; Sun, 14 Aug 2011 09:21:18 +0200 Received: from ip-213-220-207-166.net.upcbroadband.cz ([213.220.207.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Aug 2011 09:21:18 +0200 Received: from thorsten by ip-213-220-207-166.net.upcbroadband.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Aug 2011 09:21:18 +0200 To: cygwin@cygwin.com From: Thorsten Kampe Subject: Re: Failure of name resolution with ssh on windows 7 and VMware Date: Sun, 14 Aug 2011 08:21:00 -0000 Message-ID: References: <4E46E867.4080903@stevens.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/3.0.4 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-08/txt/msg00272.txt.bz2 * John Dzielski (Sat, 13 Aug 2011 17:11:03 -0400) > I am unable to get name resolution to work with ssh. The command ssh X > returns the error "ssh: could not resolve hostname X: Non-recoverable > failure in name resolution." The command nslookup X returns a valid IP > address. Run a Wireshark trace when ssh fails and see if you actually have an attempt for name resolution. I'd rather suspect UAC or the firewall. > I've created a partial workaround in my .bashrc file that creates > variables containing the IP addresses of the names I need to resolve. This is a weird idea. Use /etc/hosts for that. Thorsten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple