On Thu, May 15, 2014 at 03:09:42PM +0200, Eivind Evensen wrote:
> 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 <eivi...@terraplane.org> 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
> >     t...@i386.openbsd.org:/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
>     t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP


For the record, with sources upgraded and built from cvs from Sunday
I still see this, with new keys too:



.ssh-keygen -b 16384
Generating public/private rsa key pair.
load: 1.43  cmd: ssh-keygen 18502 [running] 397.51u 0.00s 99% 0k
Enter file in which to save the key (/home/rumrunner/.ssh/id_rsa): taskulf
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in taskulf.
Your public key has been saved in taskulf.pub.
The key fingerprint is:
16:61:8a:3a:3f:da:b3:96:39:31:f2:87:e0:f4:1e:0f 
rumrunner@ugle.hjerdalen.lokalnett
The key's randomart image is:
+--[ RSA 16384]---+
|        o        |
|     . o .       |
|    . . .        |
|   .     .       |
|  o     S        |
|  +oo  .         |
| o =E*           |
|  .oX=.          |
|  .o+=.          |
+-----------------+

.file taskulf*
taskulf:     ASCII text
taskulf.pub: ASCII text, with very long lines


.eval `ssh-agent -c`
Agent pid 23633

.ps ax |grep ssh-ag
23633 ??  Ss      0:00.02 ssh-agent -c
21022 p3  S+      0:00.00 grep ssh-ag

.ssh-add taskulf
Error reading response length from authentication socket.
Could not add identity: taskulf

.ps ax |grep ssh-ag

(process is dead)

-- 
Eivind

Reply via email to