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

X-Spam-Check-By: sourceware.org
Date: Thu, 15 Mar 2007 13:16:26 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Charles D. Russell" <worwor AT bellsouth DOT net>
cc: cygwin AT cygwin DOT com
Subject: RE: Accessing remote PC (ssh?)
In-Reply-To: <45F97947.6060401@bellsouth.net>
Message-ID: <Pine.GSO.4.63.0703151312230.18554@access1.cims.nyu.edu>
References: <45F97947 DOT 6060401 AT bellsouth DOT net>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, 15 Mar 2007, Charles D. Russell wrote:

> >  Dave Korn wrote:

Actually, I did...

> > Sshd does not care about the IP of the machine it's running on.  All
> > it does is listen on a port.
>
> > Ssh stores the hostname/IP in ~/.ssh/known_hosts.  If the IP changes,
> > ssh may prompt you to accept the host keys again (although this mostly
> > happens if using raw IPs to connect).
>
> _______________________
> Truly a prompt, that tells explicitly what to do, or just a message, that
> requires you to understand something about networking?

If the IP lookup succeeds, but the IP address has changed, you might get a
prompt.  In your case, the IP lookup fails.

> My ssh/sshd installation has broken twice.  After noticing that IP
> addresses had changed, I read about DHCP and suspected that to be the
> problem.  I'm not a programmer, just a dumb engineer who normally counts
> on setup.exe (or in this case the installation scripts)  to take care of
> all the sysadmin stuff.
>
> What I am getting, with a formerly working installation, is:
>
> $ ssh sony06
> ssh: sony06: no address associated with name

This is not ssh-specific.  You'll have the same problem with ping, or
telnet, or any of the host of internet applications that rely on DNS
lookups.

> I have reason to believe, from previous correspondence with this group,
> that my installation is flaky. I did not reinstall then, because at the
> time it was working. If I reinstall by means of the scripts, is ssh
> expected to work without periodic maintenance?  (Just within a home WNET
> using a wireless router with DHCP.) How should I proceed to ensure a
> clean reinstall?

Reinstalling ssh/sshd won't help in this case.  You need to figure out why
the name sony06 is not resolved by your DNS server (which is probably your
router).  If you can ping the machine, but cannot ssh to it, then we enter
the realm of possible ssh problems.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

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