as a firm believer of "rough consensus and running code", here's
the working code for BSD auth for NetBSD. sshd uses it, and i confirmed
that it is working very well. commit? (after $NetBSD$ cleanup and
stuff, of course)
ftp://ftp.itojun.org/pub/netbsd-bsdauth-20030909.tar.gz
itojun