X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type
	:content-transfer-encoding; q=dns; s=default; b=OytZ+jmH/FFCaXc0
	e0ceUkQTL8iWco5EMxHLNhE+4rSZRc/OM6nlkY53NN+E9Y14wGEWTxXcXbJRyoPb
	vWTFEr9fXI1n7dHi7fFVvsjvYdIy3wdNTAsUjJ8tUPtp5n/4B2IOluPgQPatceJ9
	EK7Eo5s1bo9sjU7t1SrtorDThHE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type
	:content-transfer-encoding; s=default; bh=R54z2aTN94KjNjLTeQy6zT
	35j9Y=; b=opCLSQzFmlhGLokOT1QMqm+s2SMi/N9hgrAgZrBkZMQ/DaiveFACWb
	adQnD0amrtwUKxgW+JD1MfeyLLNl62CG8y9qRXm8tXSfQiMJ0AnmcrrU6lsGT2F9
	8WBG+dQV+f+15bsHkSd9m8ZOUbrFx8xnazpW74qoq04IXWMxuKs7s=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_50,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-ob0-f177.google.com
MIME-Version: 1.0
X-Received: by 10.60.143.98 with SMTP id sd2mr16886779oeb.23.1441250710971; Wed, 02 Sep 2015 20:25:10 -0700 (PDT)
In-Reply-To: <779534835.20150902194715@yandex.ru>
References: <CABs5vS7UPWPps5ByU9L60z5PSszRNTkFAaQ+DK0e8HZNWDGXPQ@mail.gmail.com>	<779534835.20150902194715@yandex.ru>
Date: Thu, 3 Sep 2015 12:25:10 +0900
Message-ID: <CABs5vS4TxToA=5u5MysSg1+izeL2FepjKbQzkeqvOKxNyOdDUQ@mail.gmail.com>
Subject: Re: Every time I run ssh, ssh prompts "password:" with latest OpenSSH package.
From: Hiroyuki Kurokawa <kurokawh@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t833Q62o024807

Hi,

Thanks Andrey for reply to my question.

George gave me an advice by a direct mail.
And his instruction solve my problem.

> If you use dsa key type, you need to add to your ssh client configuration file, either ~/.ssh/config or /etc/ssh_config, the following parameter:
>
> PubkeyAcceptedKeyTypes +ssh-dss
>
> If you use some other key type, then 'ssh -Q key' will list all supported key types, pick the right one and put it into config file instead of ssh-dss.
>
> I had the same problem after the last ssh upgrade.

Now the latest ssh works fine with ~/.ssh/config which contains
"PubkeyAcceptedKeyTypes +ssh-dss" because a type of my key is DSA.

I appreciate George so much.

Best Regards,
Hiroyuki Kurokawa

2015-09-03 1:47 GMT+09:00 Andrey Repin <anrdaemon@yandex.ru>:
> Greetings, Hiroyuki Kurokawa!
>
>> Hi,
>
>> The ssh command keeps prompting "password:" repeatedly with the latest
>> OpenSSH package after I started ssh-agent and registered key with
>> ssh-add command.
>> Followings are my environment.
>
>> % uname -a
>> CYGWIN_NT-10.0 win8 2.2.1(0.289/5/3) 2015-08-20 11:42 x86_64 Cygwin
>> % ssh -V
>> OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015
>
>> If I install back the older OpenSSH package ("OpenSSH_6.9p1, OpenSSL
>> 1.0.2d 9 Jul 2015"), then ssh prompt "password:" only once. Old
>> version works fine!
>> I confirmed that "OpenSSH_7.0p1, OpenSSL 1.0.2d 9 Jul 2015" has same
>> problem as "OpenSSH_7.1p1, OpenSSL 1.0.2d 9 Jul 2015".
>> And I can see same behavior on another machine which OS is windows7.
>
>> So, I believe the latest OpenSSH_7.1p1 & 7.0p1 have same problem.
>
>> If I miss anything, please let me know.
>
> You miss the -vvv log from both client and server.
>
>
> --
> With best regards,
> Andrey Repin
> Wednesday, September 2, 2015 19:46:55
>
> Sorry for my terrible english...
>



-- 
黒川裕之
kurokawh@gmail.com

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


