On Thu, May 15, 2014 at 01:53:22PM +0200, Eivind Evensen wrote:
> On Sat, May 10, 2014 at 10:44:47PM +0000, Stuart Henderson wrote:
> > On 2014-05-08, Eivind Evensen <[email protected]> wrote:
> > > Hello. After upgrading an i386 I can no longer login via ssh using the
> > > key I normally use. The server says in authlog:
> >
> > There have been a couple of bugs in -current recently that have broken
> > ssh in various situations, please could you try an up-to-date snapshot
> > and post again if it still happens?
>
> Thanks for the reply. I still see it:
>
>
> May 15 13:44:49 rev sshd[27321]: error: buffer_get_bignum2_ret: bignum is too
> large [preauth]
> May 15 13:44:49 rev sshd[27321]: error: key_from_blob: can't read rsa key
> [preauth]
> May 15 13:44:49 rev sshd[27321]: error: userauth_pubkey: cannot decode key:
> ssh-rsa [preauth]
> May 15 13:44:54 rev sshd[27321]: Connection closed by 10.10.10.8 [preauth]
>
> OpenBSD 5.5-current (GENERIC) #105: Mon May 12 21:43:29 MDT 2014
> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC
Another "funny" thing, trying to use ssh and the ssh-agent on an amd64
computer with the same key:
.eval `ssh-agent -c`
Agent pid 19739
.ssh-add -l
The agent has no identities.
.ssh-add
Enter passphrase for /home/rumrunner/.ssh/id_rsa:
Error reading response length from authentication socket.
Could not add identity: /home/rumrunner/.ssh/id_rsa
.ssh-add -l
Could not open a connection to your authentication agent.
But still:
.ssh klump
buffer_get_bignum2_ret: bignum is too large
key_from_blob: can't read rsa key
key_read: <dump of key comes here>Enter passphrase for key
'/home/rumrunner/.ssh/id_rsa':
Last login: Fri May 9 17:37:27 2014 from elg
<it logs me in at this point>
No newline before the "Enter passphrase..." is how it was displayed.
This is on:
OpenBSD 5.5-current (GENERIC.MP) #126: Mon May 12 22:40:04 MDT 2014
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
--
Eivind