Building Kerberos including SSH on Windows 2000 under Cygwin

Subject:         cygwin ssh and krb5
Date:             Wed, 15 Aug 2001 19:00:27 -0400
From:           Vern Staats <>

> Vern Staats wrote:
> >
> > FYI, I've had some success porting the current NRL KRB5 (20010801),
> > bind 8.2.4-REL, and ssh-1.2.27 (including my version "c" patches)
> > to MS-Windows 2000 using cygwin (Cygwin.DLL 1.3.2).  This gives you
> > a free kerberized ssh for the PC/Windows environment based on the
> > exact same sources we use on real Unix systems.  I have kinit, klist,
> > kdestroy, telnet, ftp, plus all the ssh stuff.

Here's a better set of patches for building ssh under cygwin.
Compared to the initial patch set,
o  This one is better tested :-).  (... although still only on Win2K)
o  Kerberos fully builds.
o  You still need to use the commandline NRL KRB5 kinit.
o  The ssh_setup script *tries* to build /etc/passwd, /etc/group,
   and /etc/resolv.conf for you.  You should take a look at these
   files and hand-edit if need be.  Note that  mkpasswd -d $domain
   took over an hour on my system.  Also note that this script contains
   lots of MS-Windows 2000 dependencies.
o  bind will now find resolv.conf in /etc/, where God intended it to be.