bugzilla-daemon at mindrot.org
2005-Jan-15 12:43 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 Summary: openssh-3.9_p1-r1 login problem Product: Portable OpenSSH Version: 3.9p1 Platform: Other URL: http://bugs.gentoo.org/show_bug.cgi?id=78073 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org ReportedBy: blubb at gentoo.org Estimated Hours: 0.00 sshd doesn't like this key: cat ~hansmi/.ssh/authorized_keys2 ssh-dss AAAB3NzaC1kc3MAAACBANuRyCB3NI4DEg5s9zWQID2N1zMUl/jKu8mjhhg03VbPUbIqhSy+5Eh0Bm/ccTdChBRvq6Y4pedFfkVhf5v2sAvhQfDB+q19kF2TLPUVvuKwClkr3Wk7+sSfhqlvxyEK04cwHkbM7fCopXFDhLcqaJuDsrVRM0FVfEFndsFtgPjPAAAAFQDUzCfxQxcZcPPQi6EGLNBhcSkewwAAAIEAhFtWzhgwHon0Ux8YhSdRy9mEDCT19Og6Eu/LkfqZEmhB38dJLzwDunNGRcAGMVvtm4280o8/bpqzCgJHh6/lq+pyBaP8gEdeFJRdZhuGcRc6ViW+hSxOc6fR/xNL+SSMxtDdSg925g6k79AyXGBnDA7r/REVpM3lLygDCEQhfqoAAACBAM0ZkrvhM6vq5lxXe9MrJA2bsM2laIBy michael at koala.lan when trying to login, the user gets this: $ ssh -l hansmi host -p 2222 Connection closed by 217.148.7.65 /var/log/auth.log says: Jan 15 12:59:33 aqua sshd[23772]: fatal: buffer_get: trying to get more bytes 129 than in buffer 24 password authentication works gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 x86_64 ================================================================System uname: 2.6.9-gentoo-r10 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.8 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.4_p6, 1.9.4, 1.8.5-r2, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r3 CFLAGS="-O3 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O3 -pipe -march=k8" MAKEOPTS="-j3" it was built with support for the following: net-misc/openssh-3.9_p1-r1 tcpd -r1 is gentoo-specific this is an amd64-box please also have a look at the gentoo bug in the url ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Jan-15 14:06 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 djm at mindrot.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From djm at mindrot.org 2005-01-16 01:06 ------- The key looks to be corrupt in some way (ssh-keygen can't parse it either). OpenSSH -current will more gracefully handle such broken keys and not terminate the connection when it encounters them. Could you check that the public key is not damaged? You can regenerate the public key from the private key using "ssh-keygen -yf /path/to/private.key" ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Jan-15 16:07 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 blubb at gentoo.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From blubb at gentoo.org 2005-01-16 03:07 ------- seems like the key is correct, keygen built exactly the same again ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Jan-15 22:02 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 ------- Additional Comments From djm at mindrot.org 2005-01-16 09:02 ------- Please attach the public key as a file to this bug. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Jan-16 13:29 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 ------- Additional Comments From blubb at gentoo.org 2005-01-17 00:29 ------- Created an attachment (id=768) --> (http://bugzilla.mindrot.org/attachment.cgi?id=768&action=view) key here you are ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Feb-02 01:40 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 ------- Additional Comments From dtucker at zip.com.au 2005-02-02 12:40 ------- The public key appears truncated: encoded it's about 140 bytes shorter than a 1024-bit DSA key. A couple of things to try: * does the OpenSSL library's self-test pass? ("make test" after building). * perhaps the private key is damaged. Does the same problem occur if you generate and use a new private key? * does the problem occur if you build OpenSSL and OpenSSH without the compiler optimization? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2005-Feb-02 09:42 UTC
[Bug 972] openssh-3.9_p1-r1 login problem
http://bugzilla.mindrot.org/show_bug.cgi?id=972 blubb at gentoo.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From blubb at gentoo.org 2005-02-02 20:42 ------- * does the OpenSSL library's self-test pass? ("make test" after building). yes * perhaps the private key is damaged. Does the same problem occur if you generate and use a new private key? that's possible, the same key has afaik also problems on a sparc/alpha. any other keys i'm using work, so i think it's the key that is truncated. thanks anyway ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.