Yup. I broke out the ssh source code to see what the messages meant, too.
(It's a linux from scratch system. Comes in handy at times like these. :)
Cutting and pasting from this test case is a bit problematic, but the most
interesting message was the one where it was complaining I hadn't entered the
passphrase for the public key. (The key doesn't HAVE a passphrase. Yes I
compared the id_dsa files, authorized_keys, etc.) This is probably a red
herring though, since the non-passphrase version (ssh 10.0.0.1 as root) has a
similar behavior of complaining I hadn't entered a password it had never
prompted me for. It seems to get an immediate eof (or some other kind of
error) on input whenever it wants a password.
Again, the exact same code and data files work after initrd exits.
It MIGHT have something to do with the fact that ptys don't seem to be
initialized before initrd exits. ssh gets a little strange when there are no
ptys. (When I mount /dev/pts, it's empty. However, the success case of
booting the same code from /dev/hda1doesn't even need /dev/pts mounted to
work, so...?)
I can probably cut this test case down to fit on a bootable floppy given
about eight hours of sleep. :)
Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/