Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3CF6C440.6070306@adacel.com> Date: Fri, 31 May 2002 10:30:56 +1000 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssh and name resolution References: <3CF57593 DOT 8020302 AT adacel DOT com> <3CF6B217 DOT 3060307 AT adacel DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Michael Wardle wrote: > Michael Wardle wrote: > >> I have a local host called "meerkat" that I want to connect to via ssh. >> When I issue "ssh meerkat", I get a warning: >> "The authenticity of host 'meerkat(202.50.84.15)' can't be established" >> Yet meerkat is a host on my local 192.168.x.x subnet. >> "nslookup meerkat" returns the expected IP address in 192.168.x.x. > > > Thanks to all who replied so far, but you've all missed the point: > when I "ssh meerkat", I am connecting to a different host than the > meerkat I expected. > > ping meerkat gives one host (202.50.84.15) > nslookup meerkat gives another (192.168.x.x) Sorry, I've been leaving out some implied details. Obviously the issue is a more generic name resolution issue, it's just I first noticed it when trying to use ssh. The other thing is that ping and nslookup work as expected on the underlying system (Windows 2000), it's only under Cygwin that the issue exists. I didn't notice an /etc/hosts or a /etc/resolv.conf, so I assume that Cygwin gets this information from the underlying system, but I'll do some more reading... -- MICHAEL WARDLE SGI Desktop & Admin Software Adacel Technologies Limited -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/