Greetings, I receive a connection closed message when I try to ssh to windows box running cygwin. I have meddled enough with the hosts allow and deny configs, checked for blocked ports,no McAfee, tried rebase, var directory has required permissions, performed a clean install of cygwin and ssh-host-config several times. I can ssh from this windows box to another unix box, but not the other way. What am I missing ?
debug1: Offering public key: /u/xxxxx/.ssh/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply Connection closed by xx.xx.xxx.xxx Attached is the cygcheck output, please help I have been trying this for the past two weeks. Thanks Vivek
Cygwin Configuration Diagnostics Current System Time: Thu Oct 16 15:32:01 2008 Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1 Running in Terminal Service session Path: D:\cygwin\usr\local\bin D:\cygwin\bin D:\cygwin\bin D:\cygwin\usr\X11R6\bin c:\Program Files\Support Tools\ c:\Program Files\Windows Resource Kits\Tools\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\NetIQ\Common\bin c:\CA_APPSW c:\NSM\bin c:\NSM\help c:\Program Files\Microsoft SQL Server\80\Tools\BINN D:\cygwin\bin c:\NSM\services\bin c:\NSM\agents\bin c:\NSM\services\tools Output from D:\cygwin\bin\id.exe (nontsec) UID: 340290(S-NATSAFESTK) GID: 10513(Domain Users) 10513(Domain Users) 375217(KFI DE ELM UR H-P-Qualit-R) 375218(KFI DE ELM UR H-P-SSE_Plant_ELM-R) 142341(KFI Mexico UR App GDC Skills Management) 291431(KFT EMEA UR EDS Citrix DE all Users) 359293(KFT Global UR Service NA) 362223(rCMP-KFTDEEDCAPP04AdministratorsTier2) 362224(rCMP-KFTDEEDCSQL01AdministratorsTier2) 362220(rCMP-KFTDERSHAPP03AdministratorsTier2) 362221(rCMP-KFTDERSHAPP04AdministratorsTier2) 362222(rCMP-KFTDERSHSQL01AdministratorsTier2) 544(Administrators) 545(Users) 1005(IIS_WPG) Output from D:\cygwin\bin\id.exe (ntsec) UID: 340290(S-NATSAFESTK) GID: 10513(Domain Users) 10513(Domain Users) 375217(KFI DE ELM UR H-P-Qualit-R) 375218(KFI DE ELM UR H-P-SSE_Plant_ELM-R) 142341(KFI Mexico UR App GDC Skills Management) 291431(KFT EMEA UR EDS Citrix DE all Users) 359293(KFT Global UR Service NA) 362223(rCMP-KFTDEEDCAPP04AdministratorsTier2) 362224(rCMP-KFTDEEDCSQL01AdministratorsTier2) 362220(rCMP-KFTDERSHAPP03AdministratorsTier2) 362221(rCMP-KFTDERSHAPP04AdministratorsTier2) 362222(rCMP-KFTDERSHSQL01AdministratorsTier2) 544(Administrators) 545(Users) 1005(IIS_WPG) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER = 'S-NATSAFESTK' PWD = '/home/S-NATSAFESTK' CYGWIN = 'ntsec tty' HOME = '/home/S-NATSAFESTK' MAKE_MODE = 'unix' HOMEPATH = '\Documents and Settings\s-natsafestk' MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man' APPDATA = 'C:\Documents and Settings\s-natsafestk\Application Data' HOSTNAME = 'KFTUSOKTULABSP3' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 6 Stepping 8, GenuineIntel' WINDIR = 'C:\WINDOWS' OLDPWD = '/usr/bin' USERDOMAIN = 'KRFT' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' AGENTWORKS_DIR = 'C:\NSM' TEMP = '/cygdrive/c/DOCUME~1/S-NATS~1/LOCALS~1/Temp/1' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' LIB = 'C:\Program Files\SQLXML 3.0\bin\' USERNAME = 's-natsafestk' CLUSTERLOG = 'C:\WINDOWS\Cluster\cluster.log' PROCESSOR_LEVEL = '15' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' USERPROFILE = 'C:\Documents and Settings\s-natsafestk' CLIENTNAME = 'USGLVMGTK2MC1' PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' LOGONSERVER = '\\KFTUSOKTULGC01' PROCESSOR_ARCHITECTURE = 'x86' CAI_CAFT = 'C:\NSM' !C: = 'C:\Documents and Settings\s-natsafestk' SHLVL = '1' USERDNSDOMAIN = 'KRFT.NET' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' !D: = 'D:\cygwin\bin' PROMPT = '$P$G' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/DOCUME~1/S-NATS~1/LOCALS~1/Temp/1' SYSTEMROOT = 'C:\WINDOWS' CVS_RSH = '/bin/ssh' PROCESSOR_REVISION = '0608' INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:' PROGRAMFILES = 'C:\Program Files' CAI_MSQ = 'C:\NSM' NUMBER_OF_PROCESSORS = '1' AW_LANG = 'English' SESSIONNAME = 'RDP-Tcp#8' COMPUTERNAME = 'KFTUSOKTULABSP3' _ = '/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 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 (default) = '/cygdrive' cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'D:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'D:\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = 'D:\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 30718Mb 24% CP CS UN PA FC Boot d: hd NTFS 15351Mb 17% CP CS UN PA FC Data z: cd N/A N/A D:\cygwin / system binmode D:\cygwin/bin /usr/bin system binmode D:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: D:\cygwin\bin\awk.exe Found: D:\cygwin\bin\bash.exe Found: D:\cygwin\bin\cat.exe Found: D:\cygwin\bin\cp.exe Not Found: cpp (good!) Not Found: crontab Found: D:\cygwin\bin\find.exe Not Found: gcc Not Found: gdb Found: D:\cygwin\bin\grep.exe Found: D:\cygwin\bin\kill.exe Not Found: ld Found: D:\cygwin\bin\ls.exe Not Found: make Found: D:\cygwin\bin\mv.exe Not Found: patch Not Found: perl Found: D:\cygwin\bin\rm.exe Found: D:\cygwin\bin\sed.exe Found: D:\cygwin\bin\ssh.exe Found: D:\cygwin\bin\sh.exe Found: D:\cygwin\bin\tar.exe Found: D:\cygwin\bin\test.exe Not Found: vi Not Found: vim 61k 2008/04/01 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2008/3/31 22:37 7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 2:57 1064k 2008/09/30 D:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2008/9/30 10:27 40k 2006/11/15 D:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2006/11/15 1:06 25k 2008/01/04 D:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2008/1/3 21:31 271k 2007/08/24 D:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0 "cygicons-0.dll" v0.0 ts=2007/8/24 2:24 976k 2006/10/22 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2006/10/22 18:44 37k 2003/08/10 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 16:50 31k 2005/11/20 D:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2005/11/19 20:04 31k 2006/10/23 D:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0 "cygintl-8.dll" v0.0 ts=2006/10/22 19:12 21k 2006/11/15 D:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2006/11/15 1:05 20k 2006/12/21 D:\cygwin\bin\cygminires.dll - os=4.0 img=1.1 sys=4.0 "cygminires.dll" v0.0 ts=2006/12/20 23:07 67k 2006/11/15 D:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2006/11/15 1:13 237k 2006/11/15 D:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2006/11/15 1:02 12k 2006/11/15 D:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2006/11/15 1:04 181k 2008/09/07 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2008/9/6 22:36 302k 2008/09/07 D:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcrecpp-0.dll" v0.0 ts=2008/9/6 22:36 7k 2008/09/07 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2008/9/6 22:36 22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/9 0:45 155k 2008/01/04 D:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2008/1/3 21:31 218k 2008/09/30 D:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.8.dll" v0.0 ts=2008/9/30 10:28 22k 2008/02/24 D:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0 "cygwrap-0.dll" v0.0 ts=2008/2/23 1:03 65k 2006/10/16 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2006/10/15 20:10 1829k 2008/06/12 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2008/6/12 12:35 Cygwin DLL version info: DLL version: 1.5.25 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 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: Thu Jun 12 19:34:46 CEST 2008 CVS tag: cr-0x5f1 Shared id: cygwin1S4 Service : sshd Display name : CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D stdin path : /dev/null stdout path : /var/log/sshd.log stderr path : /var/log/sshd.log Environment : CYGWIN="ntsec" Process Type : Own Process Startup : Automatic Dependencies : tcpip Account : LocalSystem Cygwin Package Information Last downloaded files to: D:\cygwinoct6 Last downloaded files from: D:\cygwinoct6 Package Version _update-info-dir 00759-1 alternatives 1.3.30c-2 ash 20040127-4 base-files 3.7-1 base-passwd 2.2-1 bash 3.2.39-20 bzip2 1.0.5-2 coreutils 6.10-1 crypt 1.1-1 csih 0.1.8-1 cygrunsrv 1.34-1 cygutils 1.3.2-1 cygwin 1.5.25-15 cygwin-doc 1.4-4 diffutils 2.8.7-1 editrights 1.01-2 findutils 4.4.0-3 gawk 3.1.6-1 gcc-testsuite 3.4.4-3 grep 2.5.3-1 groff 1.19.2-2 gzip 1.3.12-2 less 382-1 libbz2_1 1.0.5-2 libiconv2 1.11-1 libintl2 0.12.1-3 libintl3 0.14.5-1 libintl8 0.15-1 libncurses8 5.5-3 libpcre0 7.8-1 libpopt0 1.6.4-4 libreadline6 5.2.12-10 libwrap0 7.6-4 login 1.9-8 man 1.6e-1 minires 1.01-1 openssh 5.1p1-3 openssl 0.9.8i-1 rebase 2.4.4-1 run 1.1.10-1 sed 4.1.5-2 tar 1.20-1 tcp_wrappers 7.6-4 termcap 20050421-1 terminfo 5.5_20061104-1 texinfo 4.8a-1 tzcode 2008a-1 which 2.19-1 zlib 1.2.3-2 Use -h to see help about each section
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/