X-Recipient: archive-cygwin AT delorie DOT 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; q=dns; s=default; b=up 05NWGOs4cDVRZ26x0d1dmNJTO3RdEwpSHPSoSy+UqWBSwhT/TONkpB3kuqDiovse Fhh5qtQvBewMqyQnfIOCBF0VT5c5xpr7YNi2a0uNOGubU5Zz/yruk2Qsk0Xft4yK EoEsNRwwcZU7nBrIdMbzhztSXjgYkaQSfBotqKAeE= 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; s=default; bh=s1ZIPVRG m3GXxcZbT08N+7dvXhc=; b=Kt1yAtktck95k7EJCGrNaxtyUjm/H6SyZxagemkr FNXyNhG4ZwE4gnumxtEThmNFwxQP767vgGqI+gvTbNq6lI7x5X6xnRIjz+VXg6wB eGkZ69Z1HW7ROjycVuNEsDwH4WHpObWVrcY/d2QI/maYpcSCRYMY7EkBo7rZTDLn AjQ= 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 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 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) In-Reply-To: <17576-1442364299-983686@sneakemail.com> References: <17576-1442364299-983686 AT sneakemail DOT com> Date: Tue, 15 Sep 2015 21:14:28 -0400 Message-ID: Subject: Re: problem with ~/.ssh/config ? From: Lee To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On 9/15/15, John Hein <3fbmqnhaz4 AT snkmail DOT 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