Jeroen Bruinink wrote:
Hi,
I just compiled openssl-0.9.7h and openssh-4.2p1. I ran all the tests
and there were no errors. However, when I start sshd and try to login
with putty the server closes the connection after I send my username.
Below is the output of "/usr/sbin/sshd -ddd". Can anyone point me in the
right direction?
<snip>
Failed keyboard-interactive for jeroen from 192.0.0.125 port 3627 ssh2
debug3: Trying to reverse map address 192.0.0.125.
debug1: do_cleanup
What version of LFS are you using? 6.0, 6.1? In particular, what
version of Glibc? 2.3.4? I would guess that the problem is with a bug
in glibc because the same thing happened to me (and many others on this
list). Take a look at this bug
http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=1534 .
If you're using glibc-2.3.4, then you there's a couple solutions.
1. install -d /var/lib/sshd/lib
2. Patch glibc with the patch from here
http://linuxfromscratch.org/pipermail/lfs-dev/2005-October/053692.html
and rebuild.
Obviously, the first one is a lot easier. The second one would actually
get rid of the bug in glibc, but then you'd have to reinstall glibc, and
that might not be fun if you're not experienced.
Try that and see if it helps. Incidentally, does anyone know why none
of this information appears on the LFS Errata page?
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page