From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99500 invoked by alias); 16 Sep 2015 01:14:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 99401 invoked by uid 89); 16 Sep 2015 01:14:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f173.google.com Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 16 Sep 2015 01:14:31 +0000 Received: by wicgb1 with SMTP id gb1so52007703wic.1 for ; Tue, 15 Sep 2015 18:14:28 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.75.176 with SMTP id d16mr13402269wiw.75.1442366068255; Tue, 15 Sep 2015 18:14:28 -0700 (PDT) Received: by 10.194.13.70 with HTTP; Tue, 15 Sep 2015 18:14:28 -0700 (PDT) In-Reply-To: <17576-1442364299-983686@sneakemail.com> References: <17576-1442364299-983686@sneakemail.com> Date: Wed, 16 Sep 2015 01:14:00 -0000 Message-ID: Subject: Re: problem with ~/.ssh/config ? From: Lee To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00252.txt.bz2 On 9/15/15, John Hein <3fbmqnhaz4@snkmail.com> wrote: > Lee wrote at 17:59 -0400 on Sep 15, 2015: > > OpenSSH 7.0 defaults to no support for diffie-hellman-group1-sha1 key > > exchange which is a problem with certain devices: > > > > $ ssh 10.10.3.5 > > Unable to negotiate with 10.10.3.5: no matching key exchange method > > found. Their offer: diffie-hellman-group1-sha1 > > > > http://www.openssh.com/legacy.html has two work-arounds: > > 1. add "-oKexAlgorithms=+diffie-hellman-group1-sha1" to the ssh > > command -- which works for me > > 2. add "Host * KexAlgorithms +diffie-hellman-group1-sha1" to > > ~/.ssh/config -- which does not work for me > > > > What's the trick for getting the KexAlgorithms param in ~/.ssh/config to > work? > > > > $ cat ~/.ssh/config > > Host * KexAlgorithms +diffie-hellman-group1-sha1 > . > The trick is a newline. Host entry on one line, config settings > on lines below it. yup - that was it. Thank you!! Lee -- 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