From neukirch@asknet.de Tue Jul 14 09:40:56 PDT 1998 From: Andreas Neukirch Newsgroups: comp.security.ssh Subject: sshd on NT minimal Installation Date: Tue, 14 Jul 1998 10:27:23 +0200 Organization: ASKnet GmbH Lines: 167 Hi all, some days ago I posted the question for a sshd on Windows NT and got a lot of useful information, thanks a lot! Nevertheless it was not easy to put it all together. Perhaps there is still a good manual which I just didn't find but I wrote a short recipe: Installation SSH on Windows NT ------------------------------- 1 - Computer with Windows NT 4.0, Service Pack 3 2 - add the NT-User Rights + start the User Manager (MUSRMGR) + create a new group (e.g. "ssh Users") + add the three privileges to the group (via Policies\User Rights): "Act as part of the operating system" - SeTcbPrivilege "Increase quotas" - SeIncreaseQuota "Replace a process level token" - SeAssignPrimary NOTE: The three privileges will only be visible if you check "Show Advanced User Rights" in the dialog box. + add the desired users to the new group (via User\Properties\Group) + reboot NT (greetings from the developers of NT ;-) ) 3 - install usertools from cygnus (cygwin32 beta 19) + get usertools.exe via ftp The primary ftp site is `ftp://go.cygnus.com/pub/ftp.cygnus.com/gnu-win32'. There are also several mirrors: * North America: * Alberta: `ftp://ftp.reversion.ca/pub/mirrors/gnu-win32' * Arizona: `ftp://ftp.ninemoons.com/pub/gnu-win32' * California: `ftp://go.cygnus.com/pub/ftp.cygnus.com/gnu-win32' * California: `ftp://ftp.yggdrasil.com/mirrors/site/ftp.cygnus.com/pub/gnu-win32' * California (secondary): `ftp://ftp.cygnus.com/pub/gnu-win32' * Kansas: `ftp://ftp.the-b.org/pub/cygnus' * Tennessee: `ftp://sunsite.utk.edu/pub/gnu-win32' * Texas: `ftp://ftp.deninc.com/pub' * Worldwide: * Australia: `ftp://mirror.aarnet.edu.au/pub/gnu-win32' * Austria: `ftp://gd.tuwien.ac.at/pub/gnu/gnu-win32' * Czech Republic: `ftp://sunsite.ms.mff.cuni.cz/MIRRORS/ftp.cygnus.com/pub/gnu-win32/' * France: `ftp://ftp.fwntug.org/gnu' * France: `ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/Windows/cygwin/' * Germany: `ftp://ftp.franken.de/pub/win32/develop/gnuwin32/mirrors/cygnus/' * Greece: `ftp://ftp.ntua.gr/pub/pc/gnu-win32' * Hungary: `ftp://ftp.szrmkk.hu/pub/gnu-win32/ftp.cygnus.com' * Italy: `ftp://aaue.matrice.it/pub/gnu-win32' * Japan: `ftp://ftp.crl.go.jp/pub/GNU/cygnus/gnu-win32' * Japan: `ftp://sysg.kek.jp/cygnus' * Japan: `ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32' * Korea: `ftp://cair-archive.kaist.ac.kr/pub/gnu/gnu-win32' * Slovenia: `ftp://sunsite.fri.uni-lj.si/pub/gnu-win32' * South Africa: `ftp://ftp.sun.ac.za/sites/ftp.cygnus.com/pub/gnu-win32' * Spain: `ftp.rediris.es/mirror/gnu-win32' * Sweden: `ftp.sunet.se/pub/gnu/gnu-win32' * UK: `ftp://sunsite.doc.ic.ac.uk/packages/gnu/cygnus/gnu-win32' + unpack and install user tools by executing usertools.exe + get patched cygwinb19.dll via ftp and replace the current (in /H-i386-cygwin32/bin/) 4 - establish environment for ssh + open cygwin32 window (should be in start->programs menu) + "mkdir /etc" (will be :\etc, probably C:\etc or D:\etc) + "mkdir /bin" + "mkpasswd -l > /etc/passwd" + "mkgroup -l > /etc/group" + "cp /H-i386-cygwin32/bin/sh.exe /bin" 5 - install ssh 1.2.25 + get precompiled binary (ssh-1_2_25-cygwinb19_tar.tar) via WWW (http://www.lexa.ru/sos/) + rename it to ssh-1_2_25-cygwinb19.tar.gz (it's tar and gzip) + unpack it to :\ + open cygwin32 window + "cd /usr/local/bin" + " ./ssh-keygen1 -b 1024 -f /etc/ssh_host_key -N'' " 6 - start sshd + "/usr/local/sbin/sshd1" good luck using it! Andreas Neukirch -- -------------------------------------------------------------------------- *** ASKnet GmbH ***** Internet-/Intranetloesungen ****** www.asknet.de *** Andreas Neukirch /\ |\ | Phone: +49 721/96458-46 Englerstrasse 14 /__\ | \ | FAX: +49 721/96458-99 D 76131 Karlsruhe / \ | \| E-Mail: neukirch@asknet.de --------------------------- Germany -------------------------------------- Geschaeftsfuehrer: Dr. Dietmar Waudig, Handelsregister Karlsruhe HRB 7629 Vereinsbank Karlsruhe, BLZ 660 202 86, Kto 2 327 384; VAT-Nr. DE 175999667