Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: Richard Campbell To: "'cygwin AT cygwin DOT com'" Subject: ssh w/ntsec and password auth Date: Fri, 11 Jan 2002 12:21:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" The story so far: nt 4.0, sshd running, inetd running, CYGWIN=ntsec. I can telnet to my machine and login successfully. I can ssh to my machine using a generated identity (ssh-usr-config) successfully. "id" shows "uid=11340(campbe_r) gid=10513(Domain Users) groups=0(Everyone),10513(Domain User s),12109(Exchange Outlook Web Access)" which seems reasonable. If I remove the generated identity and attempt to ssh to my machine using password authentication, the login fails (relevant output from sshd -d -d): Failed password for campbe_r from 192.168.102.74 port 3223 ssh2 What should I try at this point? I checked the mailing list archives (and ntsec and sshd both have massive hits but nothing that seemed relevant), looked at /usr/docs/Cygwin/(login, openssh, inetutils), and checked the users guide. cygcheck -s -v -r output is included below. -Richard Campbell. Cygnus Win95/NT Configuration Diagnostics Current System Time: Fri Jan 11 12:22:27 2002 Windows NT Ver 4.0 Build 1381 Service Pack 6 Path: d:\emacs-20.7\bin d:\cygwin\bin d:\cygwin\usr\X11R6\bin D:\Perl\bin\ C:\WINNT\system32 C:\WINNT d:\jdk1.3\bin d:\emacs-20.7\gnuserv c:\Program Files\TeXLive\ImageMagick c:\Program Files\TeXLive\netpbm\bin c:\Program Files\TeXLive\bin\win32 C:\texmf\miktex\bin D:\Oracle\Ora81\bin SysDir: C:\WINNT\System32 WinDir: C:\WINNT CYGWIN = `ntsec' HOME = `d:\cygwin\home\campbe_r' Path = `d:\emacs-20.7\bin;d:\cygwin\bin;d:\cygwin\usr\X11R6\bin;D:\Perl\bin\;C:\WIN NT\system32;C:\WINNT;d:\jdk1.3\bin;d:\emacs-20.7\gnuserv;c:\Program Files\TeXLive\ImageMagick;c:\Program Files\TeXLive\netpbm\bin;c:\Program Files\TeXLive\bin\win32;C:\texmf\miktex\bin;D:\Oracle\Ora81\bin;' BLASTER = `A220 I5 D3 T4' CLASSPATH = `.;' COMPUTERNAME = `OREGON' ComSpec = `C:\WINNT\system32\cmd.exe' CVSREAD = `1' CVSROOT = `:pserver:campbe_r AT cvs DOT air2web DOT com:/u01/cvsroot' EDITOR = `d:\emacs-20.7\bin\emacs.exe' HOMEDRIVE = `C:' HOMEPATH = `\' JAVAHOME = `d:\jdk1.3' JAVA_HOME = `d:\jdk1.3' LOGONSERVER = `\\ATLANTA' MAGICK_DELEGATE_PATH = `c:\Program Files\TeXLive\ImageMagick' MAGICK_MODULES_PATH = `c:\Program Files\TeXLive\ImageMagick' NUMBER_OF_PROCESSORS = `1' OS = `Windows_NT' Os2LibPath = `C:\WINNT\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0801' PROMPT = `$P$G' QTJAVA = `d:\jdk1.2.2\QTJava.zip' SystemDrive = `C:' SystemRoot = `C:\WINNT' TEMP = `C:\TEMP' TEXMFCNF = `c:\Program Files\TeXLive\texmf-var\web2c' TEXMFTEMP = `c:\Program Files\TeXLive\temp' TMP = `C:\TEMP' USERDOMAIN = `AIR2WEB' USERNAME = `campbe_r' USERPROFILE = `C:\WINNT\Profiles\campbe_r.000' windir = `C:\WINNT' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `d:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/air2web/platform (default) = `d:\air2web\platform' flags = 0x00000008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/bin (default) = `d:\cygwin\bin' flags = 0x0000001a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c (default) = `c:' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d (default) = `d:' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/etc (default) = `d:\cygwin\etc' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/tmp (default) = `d:\tmp' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr (default) = `d:\cygwin\usr' flags = 0x0000001a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `d:\cygwin\bin' flags = 0x0000001a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/etc (default) = `d:\cygwin\etc' flags = 0x0000001a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/var (default) = `d:\cygwin\var' flags = 0x0000001a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/var (default) = `d:\cygwin\var' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 4094Mb 76% CP CS UN PA FC Root d: hd NTFS 5663Mb 76% CP CS UN PA FC DATA e: cd N/A N/A f: net NTFS 100029Mb 97% CP CS UN PA FC VAULT h: net N/A N/A . /cygdrive user binmode,noumount d:\cygwin / system binmode d:\air2web\platform /air2web/platform system textmode d:\cygwin\bin /bin system binmode,exec c: /c system binmode d: /d system binmode d:\cygwin\etc /etc system binmode d:\tmp /tmp system binmode d:\cygwin\usr /usr system binmode,exec d:\cygwin\bin /usr/bin system binmode,exec d:\cygwin\etc /usr/etc system binmode,exec d:\cygwin\var /usr/var system binmode,exec d:\cygwin\var /var system binmode Found: d:\cygwin\bin\bash.exe Found: d:\cygwin\bin\cat.exe Found: d:\cygwin\bin\cpp.exe Found: d:\cygwin\bin\find.exe Found: d:\cygwin\bin\gcc.exe Found: d:\cygwin\bin\gdb.exe Found: d:\cygwin\bin\ld.exe Found: d:\cygwin\bin\ls.exe Found: d:\cygwin\bin\make.exe Found: d:\cygwin\bin\sh.exe 56k 2000/12/03 d:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0 "cygbz21.0.dll" v0.0 ts=2000/11/20 18:53 821k 2001/11/19 d:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto.dll" v0.0 ts=2001/11/19 18:42 102k 2001/12/06 d:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0 "cygcurl-2.dll" v0.0 ts=2001/12/6 13:45 73k 2001/12/28 d:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0 "cygexslt-0.dll" v0.0 ts=2001/12/28 6:50 45k 2001/04/25 d:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/25 1:28 34k 2001/09/30 d:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2001/9/29 22:43 18k 2000/10/23 d:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2000/10/22 22:26 17k 2001/06/28 d:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 23:34 21k 2001/06/28 d:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2001/6/27 22:27 22k 2001/12/13 d:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 4:28 21k 2001/06/20 d:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2001/6/20 13:09 81k 2001/10/20 d:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2001/10/19 20:25 35k 2001/10/20 d:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2001/10/19 20:25 45k 2001/07/04 d:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0 "cygjbig1.dll" v0.0 ts=2001/7/3 23:25 119k 2001/06/06 d:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0 "cygjpeg6b.dll" v0.0 ts=2001/6/6 0:27 26k 2001/04/25 d:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/25 1:27 19k 2001/09/30 d:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2001/9/29 22:43 156k 2001/04/25 d:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29 175k 2001/09/30 d:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2001/9/29 22:45 226k 2001/04/25 d:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/25 1:17 201k 2001/09/30 d:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2001/9/29 22:42 15k 2001/04/25 d:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/25 1:27 12k 2001/09/30 d:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2001/9/29 22:43 40k 2001/11/21 d:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2001/11/21 17:15 39k 2001/11/21 d:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix.dll" v0.0 ts=2001/11/21 17:15 163k 2001/05/06 d:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0 "cygpng2.dll" v0.0 ts=2001/5/6 0:05 108k 2001/06/28 d:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 23:34 135k 2001/06/28 d:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2001/6/27 22:27 66k 2001/11/20 d:\cygwin\bin\cygregex.dll - os=4.0 img=1.0 sys=4.0 "cygregex.dll" v0.0 ts=2001/11/20 9:44 231k 2001/11/19 d:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0 "cygssl.dll" v0.0 ts=2001/11/19 18:42 390k 2001/10/20 d:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2001/10/19 20:24 5k 2001/10/20 d:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2001/10/20 d:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2001/10/19 20:24 245k 2001/06/12 d:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0 "cygtiff3.dll" v0.0 ts=2001/6/12 13:25 623k 2001/10/20 d:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2001/10/19 20:25 610k 2001/12/28 d:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0 "cygxml2-2.dll" v0.0 ts=2001/12/28 7:49 41k 2001/07/04 d:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-noX4.dll" v0.0 ts=2001/7/3 21:21 45k 2001/07/04 d:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-X4.dll" v0.0 ts=2000/11/19 21:45 202k 2001/12/28 d:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0 "cygxslt-1.dll" v0.0 ts=2001/12/28 6:13 22k 2001/12/28 d:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0 "cygxsltbreakpoint-1.dll" v0.0 ts=2001/12/28 6:50 49k 2001/02/03 d:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2001/2/3 15:35 720k 2001/12/08 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2001/12/8 17:02 Cygwin DLL version info: DLL version: 1.3.6 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 47 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Sat Dec 8 17:02:30 EST 2001 CVS tag: cygwin-1-3-6-6 Shared id: cygwin1S3 Cygwin Package Information Last downloaded files to: D:\cygwin\dl Last downloaded files from: http://planetmirror.com/pub/sourceware/cygwin Package Version ash 20011018-1 autoconf 2.52a-1 autoconf-devel 2.52-4 autoconf-stable 2.13-4 automake 1.5b-1 automake-devel 1.5-5 automake-stable 1.4p5-5 bash 2.05a-2 bc 1.06-1 binutils 20011002-1 bison 1.30-1 byacc 1.9-1 bzip2 1.0.1-6 clear 1.0 compface 1.4-5 cpio 2.4.2 cron 3.0.1-5 crypt 1.0-1 ctags 5.2-1 curl 7.9.2-1 cvs 1.11.0-1 cygrunsrv 0.94-2 cygutils 0.9.7-1 cygwin 1.3.6-6 dejagnu 20010117-1 diff 0.0 ed 0.2-1 expect 20010117-1 figlet 2.2-1 file 3.37-1 fileutils 4.1-1 findutils 4.1 flex 2.5.4-1 fortune 1.8-1 gawk 3.0.4-1 gcc 2.95.3-5 gdb 20010428-3 gdbm 1.8.0-3 gettext 0.10.40-1 ghostscript 6.51-1 gperf 0.0 grep 2.4.2-1 groff 1.17.2-1 gzip 1.3.2-1 indent 2.2.7-2 inetutils 1.3.2-17 irc 20010101-1 jbigkit 1.2-4 jpeg 6b-4 less 358-3 libintl 0.10.38-3 libintl1 0.10.40-1 libncurses5 5.2-1 libncurses6 5.2-2 libpng 1.0.11-1 libxml2 2.4.12-1 libxslt 1.0.9-1 login 1.4-3 lynx 2.8.4-1 m4 0.0 make 3.79.1-5 man 1.5g-2 mingw 20010917-1 mingw-runtime 1.2-1 mktemp 1.4-1 mt 2.0.1-1 mutt 1.2.5i-6 nano 1.0.7-1 ncftp 3.0.2-2 ncurses 5.2-7 newlib-man 20001118-1 opengl 1.1.0-5 openssh 3.0.2p1-3 openssl 0.9.6b-2 patch 2.5-2 pcre 3.7-1 perl 5.6.1-2 popt 1.6.2-1 postgresql 7.1.3-1 python 2.2-1 readline 4.2-3 regex 4.4-2 robots 2.0-1 rsync 2.4.6-3 rxvt 2.7.2-6 sed 3.02-1 sh-utils 2.0-2 sharutils 4.2.1-2 shellutils 0.0 shutdown 1.2-2 squid 2.4-STABLE20010508 ssmtp 2.38.7-3 tar 1.13.19-1 tcltk 20001125-1 tcsh 6.11.00-3 termcap 20010825-1 terminfo 5.2-1 tetex-beta 20001218-1 texinfo 4.0-5 textutils 2.0.16-1 tiff 3.5.6beta-2 time 1.7-1 units 1.77-1 unzip 5.41-1 vim 6.0.93-1 w32api 1.2-1 wget 1.7-1 which 1.5-1 xpm-nox 4.1.0-1 zip 2.3-1 zlib 1.1.3-6 Use -h to see help about each section -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/