delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/15/17:47:14

X-Spam-Check-By: sourceware.org
Message-ID: <45F9CCD0.3060001@cygwin.com>
Date: Thu, 15 Mar 2007 18:46:40 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Accessing remote PC (ssh?)
References: <45F9B2DF DOT 1020703 AT bellsouth DOT net>
In-Reply-To: <45F9B2DF.1020703@bellsouth.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Charles D. Russell wrote:
>    *    "Larry Hall wrote:
> 
> 
>    .ssh/known_hosts on dell03 contains explicit IP addresses for both
>    dell03 and sony06 that are no longer current.
> Move this file out of the way and try ssh again.  
> __________________________________
> 
> 
> Success! That's all it took.
> 
> I suppose I'll have to repeat this every time DHCP changes the IP 
> addresses.


Correct.  Unless your router allows you to associate a dynamic IP with
your MAC address (i.e. static DHCP).  The poor man's workaround for this,
assuming that you don't want to give up on DHCP, is to create a wrapper
script for ssh that removes the known_hosts file and then calls ssh.  It
will be a little noisier, but it should work.  The alternative is to
figure out what setting in your router is screwing up DNS resolution.
I suppose you could be getting lost even before you get there too.  You
could check your network settings under Windows to see if it properly
points to your router for DNS.


> What little I know about networking makes me fear blundering into a 
> morass if I depart much from the default installation scripts.  Also,  
> my existing DHCP configuration works with Knoppix and other linux live 
> disks.  So I think I'll stick with DHCP.

I'm guessing you don't use ssh with those.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019