From owner-freebsd-stable@FreeBSD.ORG Sun Jul 13 21:39:27 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583CD1065671 for ; Sun, 13 Jul 2008 21:39:27 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id 394458FC17 for ; Sun, 13 Jul 2008 21:39:27 +0000 (UTC) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id TCA49626 for ; Sun, 13 Jul 2008 14:39:26 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 50ABE4500E for ; Sun, 13 Jul 2008 14:39:26 -0700 (PDT) To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1215985166_84175P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sun, 13 Jul 2008 14:39:26 -0700 From: "Kevin Oberman" Message-Id: <20080713213926.50ABE4500E@ptavv.es.net> Subject: sshd unable to use RSA keys on 6-Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 21:39:27 -0000 --==_Exmh_1215985166_84175P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I recently removed my DSA keys from my laptop and desktop systems, leaving only the RSA keys. This is working for several systems, but several are logging errors with every access that did not show up when DSA keys were used. Jul 13 14:23:50 star-owamp sshd[1579]: error: buffer_get_ret: trying to get more bytes 129 than in buffer 34 Jul 13 14:23:50 star-owamp sshd[1579]: error: buffer_get_string_ret: buffer_get failed Jul 13 14:23:50 star-owamp sshd[1579]: error: buffer_get_bignum2_ret: invalid bignum Jul 13 14:23:50 star-owamp sshd[1579]: error: key_from_blob: can't read rsa key Jul 13 14:23:50 star-owamp sshd[1579]: error: key_read: key_from_blob AAAAB3NzaC1yc2EAAAABIwAAAIEAuFblncD1qLy2QlnakQQATrrghSQmImjaLPRslTzG3Hn4\n failed Jul 13 14:23:50 star-owamp sshd[1579]: error: buffer_get_ret: trying to get more bytes 129 than in buffer 34 Jul 13 14:23:50 star-owamp sshd[1579]: error: buffer_get_string_ret: buffer_get failed Jul 13 14:23:50 star-owamp sshd[1579]: error: buffer_get_bignum2_ret: invalid bignum Jul 13 14:23:50 star-owamp sshd[1579]: error: key_from_blob: can't read rsa key Jul 13 14:23:50 star-owamp sshd[1579]: error: key_read: key_from_blob AAAAB3NzaC1yc2EAAAABIwAAAIEAuFblncD1qLy2QlnakQQATrrghSQmImjaLPRslTzG3Hn4\n failed Note that the login works, despite this error, but I don't like the error and I have no idea why I get this error only on certain systems. All systems are i386 and all are running v6, from a fairly old 6.1 from August 2006 to a 6.3-stable from yesterday. The one from yesterday is getting errors, but so are 6.1 systems from back in 2006. I've also tried installing OpenSSH-portable, but that did not seem to make a difference. Can anyone shed any light on what is happening? --==_Exmh_1215985166_84175P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFIenYOkn3rs5h7N1ERArNzAJ91Kpj7NmsppVahKCKB+UrU/+Sb1gCeLUzw I6FGb0ZLEuFSFGf3gH6TMW8= =RQdh -----END PGP SIGNATURE----- --==_Exmh_1215985166_84175P--