X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: ssh Permanently added Date: Sun, 07 Oct 2012 19:24:49 -0700 Lines: 48 Message-ID: References: <5072185A DOT 1030504 AT cs DOT umass DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121005 Thunderbird/16.0 In-Reply-To: <5072185A.1030504@cs.umass.edu> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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/07/2012 05:03 PM, Eliot Moss wrote: > 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 > You might try starting sshd on your local host with "net start sshd". If it says it doesn't know about any sshd service then chances are you didn't install it as a service and need to run ssh-host-config. -- Andrew DeFaria Why are people willing to get off their ass to search the entire room for the TV remote because they refuse to walk to the TV and change the channel manually? -- 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