delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/15/15:21:05

X-Spam-Check-By: sourceware.org
Message-ID: <45F9AA90.3010601@cygwin.com>
Date: Thu, 15 Mar 2007 16:20:32 -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: <45F9A632 DOT 4030103 AT bellsouth DOT net>
In-Reply-To: <45F9A632.4030103@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
> 
> 
> what does your known_hosts file look like for sony06?
> 
> ____________________________
> 
> .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.  In the best case, it
will just ask you if it's OK to add the new hosts to the file.  At worst,
it will still complain.  If that's the case, move the old file back in
and edit the IPs listed to the new/correct ones.  Try again.

With DHCP, the IPs in known_hosts are likely going to be out-of-date
allot, unless you time your DHCP leases carefully and are rigorous
about which machines get what IP and when.  For this reason, I like
to use static DHCP (I know, it sounds contradictory but it's really
quite useful in these situations).  By tying the IP a machine gets
to its MAC address, I can be assured that a particular machine (with
a particular network card) will always get the same IP on my network.
This way I get the convenience of DHCP (for my laptops) and the
stability of static IPs. :-)

-- 
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