From owner-freebsd-stable@freebsd.org Thu Apr 14 10:11:06 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 029A4B0F9C4 for ; Thu, 14 Apr 2016 10:11:06 +0000 (UTC) (envelope-from daniel@digsys.bg) Received: from smtp-sofia.digsys.bg (smtp-sofia.digsys.bg [193.68.21.123]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smtp-sofia.digsys.bg", Issuer "Digital Systems Operational CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9A7231F3D for ; Thu, 14 Apr 2016 10:11:05 +0000 (UTC) (envelope-from daniel@digsys.bg) Received: from [193.68.6.100] ([193.68.6.100]) (authenticated bits=0) by smtp-sofia.digsys.bg (8.14.9/8.14.9) with ESMTP id u3E9t6qw034459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2016 12:55:07 +0300 (EEST) (envelope-from daniel@digsys.bg) Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: OpenSSH changes between 10.2 and 10.3 ... From: Daniel Kalchev In-Reply-To: <2DD338AE-8DF8-4E59-AE3F-11DF704E455A@punkt.de> Date: Thu, 14 Apr 2016 12:55:06 +0300 Cc: freebsd-stable Message-Id: <42636FC4-F14D-4BA8-A181-5C2568101A30@digsys.bg> References: <2DD338AE-8DF8-4E59-AE3F-11DF704E455A@punkt.de> To: "Patrick M. Hausen" X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 10:11:06 -0000 host * KexAlgorithms diffie-hellman-group1-sha1 in ~/.ssh/config works for me. Daniel=20 > On 14.04.2016 =D0=B3., at 12:44, Patrick M. Hausen = wrote: >=20 > Hi, all, >=20 > minor problem/annoyance here: >=20 > root@noc:/etc/ssh # ssh admin@10.4.0.62 > Unable to negotiate with 10.4.0.62 port 22: no matching key exchange = method found. Their offer: diffie-hellman-group1-sha1,none > root@noc:/etc/ssh # uname -a > FreeBSD noc.pluspunkthosting.de 10.3-RELEASE FreeBSD 10.3-RELEASE #3: = Wed Apr 13 14:46:57 CEST 2016 = root@noc.pluspunkthosting.de:/usr/obj/usr/src/sys/GENERIC amd64 >=20 > Of course I was able to find http://www.openssh.com/legacy.html = myself. >=20 > FreeBSD 10.2 uses OpenSSH 6.6.x while 10.3 imported 7.2. > So far so good. >=20 > The recommended method from the document above works on the > command line: >=20 > ssh -oKexAlgorithms=3D+diffie-hellman-group1-sha1 = admin@10.4.0.62 >=20 > But if I add >=20 > KexAlgorithms +diffie-hellman-group1-sha1 >=20 > to /etc/ssh/ssh_config, that does not change anything. Oddly enough, > checking which algorithms are supported gives the same result > regardless of any configuration options: >=20 > root@noc:/etc/ssh # ssh -Q kex > diffie-hellman-group1-sha1 > diffie-hellman-group14-sha1 > diffie-hellman-group-exchange-sha1 > diffie-hellman-group-exchange-sha256 > ecdh-sha2-nistp256 > ecdh-sha2-nistp384 > ecdh-sha2-nistp521 > curve25519-sha256@libssh.org >=20 > So, diffie-hellman-group1-sha1 is supported but not used unless > specified on the command line? And there is no way to override that > *globally*? This is an isolated management network with IPMI > interfaces - we won't be getting updates for all of these machines' > IPMI firmware ... >=20 > Am I stuck with writing shell aliases or putting the config in each = and > every user's private ~/.ssh/config? >=20 > Thanks for any hints, > Patrick > --=20 > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe > Tel. 0721 9109 0 * Fax 0721 9109 100 > info@punkt.de http://www.punkt.de > Gf: J=C3=BCrgen Egeling AG Mannheim 108285 >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"