X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0	tests=AWL,BAYES_50,KHOP_THREADED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <5072185A.1030504@cs.umass.edu>
Date: Sun, 07 Oct 2012 20:03:38 -0400
From: Eliot Moss <moss@cs.umass.edu>
Reply-To: moss@cs.umass.edu
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: ssh Permanently added
References: <CA+zRRSqdfrVB9TA11AeAKgdzYrJ3v0axeDV4Vtp6M6ibRWNTUQ@mail.gmail.com>
In-Reply-To: <CA+zRRSqdfrVB9TA11AeAKgdzYrJ3v0axeDV4Vtp6M6ibRWNTUQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 10/7/2012 2:45 PM, Gyurmo wrote:
> Hello,
>
> I'd like to install ssh for win7-64x. I had got, but I afraid I left
> to do something for now installing. Please help me, what can I do for?
>
> [code]$ssh mine@localhost
> The authenticity of host 'localhost (::1)' can't be established.
> ECDSA key fingerprint is ************************************.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
> mine@localhost's password:
> Connection to localhost closed by remote host.
> Connection to localhost closed.[/code]
>
>
> [code]$ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
> mine@localhost
> Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
> mine@localhost's password:
> Connection to localhost closed by remote host.
> Connection to localhost closed.[/code]

It is normal behavior for ssh to cache, in a known-hosts-file,
the public ssh keys of hosts that you have said are ok.  This
has nothing to do with cygwin.  Any new host you ssh to will
induce the interchange you saw, and setting the known hosts
file to /dev/null will just make it ask every time.

It doesn't really know localhost from any other host in this
regard.

Hope this helps you understand what is happening and that it is
perfectly normal AFAIK.

Regards -- Eliot Moss

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

