sshd unable to use RSA keys on 6-Stable

Kevin Oberman oberman at es.net
Sun Jul 13 21:39:27 UTC 2008


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080713/333a702b/attachment.pgp


More information about the freebsd-stable mailing list