X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4E47CF5B.9060806@stevens.edu> Date: Sun, 14 Aug 2011 09:36:27 -0400 From: John Dzielski User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Failure of name resolution with ssh on windows 7 and VMware References: <4E46E867 DOT 4080903 AT stevens DOT edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Partial resolution: I've found that the problem does not occur when using NAT for networking. Bridged mode is still a problem. I've submitted a request to VMware. Nothing in their database. On 8/14/11 3:20 AM, Thorsten Kampe wrote: > * 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 > -- 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