X-Recipient: archive-cygwin AT delorie DOT 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 Reply-To: moss AT cs DOT umass DOT 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 AT cygwin DOT com Subject: Re: ssh Permanently added References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 AT 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 AT 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 AT localhost > Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. > mine AT 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