public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "John Hein" <3fbmqnhaz4@snkmail.com>
To: cygwin@cygwin.com
Subject: Re: problem with ~/.ssh/config ?
Date: Wed, 16 Sep 2015 00:45:00 -0000	[thread overview]
Message-ID: <17576-1442364299-983686@sneakemail.com> (raw)
In-Reply-To: <CAD8GWsvMTrzmJZhp2DQtfKNk6bpNAVSL1N1uYN5YVyHLqJ4yOw@mail.gmail.com>

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
  .
  .
 > # IOS devices running "Remote protocol version 1.99, remote software
 > version Cisco-1.25"
 > # only do diffie-hellman-group1-sha1 for key exchange & OpenSSH 7.0
 > has it disabled by default.
 > # re-enable & add to the end of the list:
 > Host  *  KexAlgorithms +diffie-hellman-group1-sha1
  .
  .


The trick is a newline.  Host entry on one line, config settings
on lines below it.

Not a cygwin question.

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

  reply	other threads:[~2015-09-16  0:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 21:59 Lee
2015-09-16  0:45 ` John Hein [this message]
2015-09-16  1:14   ` Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17576-1442364299-983686@sneakemail.com \
    --to=3fbmqnhaz4@snkmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).