This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Can't SSH as non-root user to Windows server with sshd running under Cygwin
- From: "Shubham Gupta" <shuby dot gupta at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 14 Jul 2008 17:52:00 -0700
- Subject: Can't SSH as non-root user to Windows server with sshd running under Cygwin
Hi all
I am facing a problem when I try to login through SSH as a non-root
user from a a different server to Windows 2003 server running sshd
under Cygwin. It outputs me following error:
50 [main] sshd 2040 C:\cygwin\usr\sbin\sshd.exe: *** fatal error -
could not load user32, Win32 error 1114
Has anybody previously faced any such type of problem? Please help me
and any type of help will be greatly appreciated. Thanks a lot.
Cygwin Configuration Diagnostics
Current System Time: Mon Jul 14 17:51:16 2008
Windows 2003 Server Ver 5.2 Build 3790
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
C:\cygwin\bin
/usr/bin/cygrunsrv: warning: OpenService failed for 'SCardSvr': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'SysmonLog': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'TapiSrv': Win32 error 5
Access is denied.
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1008(user) GID: 513(None)
513(None) 545(Users)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1008(user) GID: 513(None)
513(None) 545(Users)
SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS
USER = 'user'
PWD = '/home/user'
CYGWIN = 'ntsec'
HOME = '/home/user'
MAKE_MODE = 'unix'
Use '-r' to scan registry
c: hd NTFS 4086Mb 44% CP CS UN PA FC
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\patch.exe
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Found: C:\cygwin\bin\vim.exe
61k 2008/04/01 C:\cygwin\bin\cygbz2-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
1057k 2008/06/09 C:\cygwin\bin\cygcrypto-0.9.8.dll
221k 2007/06/30 C:\cygwin\bin\cygcurl-4.dll
943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll
1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll
118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll
40k 2006/11/15 C:\cygwin\bin\cygform-8.dll
19k 2006/11/19 C:\cygwin\bin\cyggdbm-4.dll
8k 2006/11/19 C:\cygwin\bin\cyggdbm_compat-4.dll
25k 2008/01/04 C:\cygwin\bin\cyghistory6.dll
271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll
976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll
37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll
31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll
31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll
83k 2007/06/06 C:\cygwin\bin\cygmagic-1.dll
21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll
20k 2006/12/21 C:\cygwin\bin\cygminires.dll
67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll
237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll
12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll
150k 2008/04/25 C:\cygwin\bin\cygpcre-0.dll
303k 2008/04/25 C:\cygwin\bin\cygpcrecpp-0.dll
7k 2008/04/25 C:\cygwin\bin\cygpcreposix-0.dll
1224k 2007/07/19 C:\cygwin\bin\cygperl5_8.dll
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
155k 2008/01/04 C:\cygwin\bin\cygreadline6.dll
118k 2007/06/27 C:\cygwin\bin\cygssh2-1.dll
219k 2008/06/09 C:\cygwin\bin\cygssl-0.9.8.dll
22k 2008/02/24 C:\cygwin\bin\cygwrap-0.dll
65k 2006/10/16 C:\cygwin\bin\cygz.dll
1829k 2008/06/12 C:\cygwin\bin\cygwin1.dll
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 : applogic_init
Description : AppLogic appliance init
Current State : Running
Controls Accepted : Stop
Command : /bin/bash /lib/applogic/applogic_init
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/sshd -D
Cygwin Package Information
Package Version
_update-info-dir 00741-1
alternatives 1.3.30c-2
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.2.39-19
bzip2 1.0.5-2
coreutils 6.10-1
cpio 2.9-1
crypt 1.1-1
curl 7.16.3-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
expat 2.0.1-1
file 4.21-1
findutils 4.4.0-1
gawk 3.1.6-1
gcc-testsuite 3.4.4-3
grep 2.5.1a-4
groff 1.18.1-2
gzip 1.3.12-2
ipcalc 0.41-1
less 382-1
libbz2_1 1.0.5-2
libcurl4 7.16.3-1
libdb4.5 4.5.20.2-2
libexpat1 2.0.1-1
libexpat1-devel 2.0.1-1
libgdbm4 1.8.3-8
libiconv2 1.11-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libintl8 0.15-1
libncurses8 5.5-3
libpcre0 7.6-2
libpopt0 1.6.4-4
libreadline6 5.2.12-10
libssh2_1 0.15-1
libwrap0 7.6-4
links 1.00pre20-1
login 1.9-7
man 1.6e-1
minires 1.01-1
openssh 5.0p1-1
openssl 0.9.8h-1
patch 2.5.8-9
perl 5.8.8-4
perl-Error 0.17010-1
rebase 2.4.4-1
rsync 2.6.9-2
run 1.1.10-1
sed 4.1.5-2
tar 1.20-1
termcap 20050421-1
terminfo 5.5_20061104-1
texinfo 4.8a-1
tzcode 2008a-1
unzip 5.52-2
vim 7.1-1
wget 1.11.3-1
which 2.19-1
zip 2.32-2
zlib 1.2.3-2
Use -h to see help about each section
--
Shubham Gupta
--
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/