SSHD Issue Windows 2003 64 bit

Gary gary.mphelps@gmail.com
Tue Aug 23 18:55:00 GMT 2011


Isn't openssh necessary to run 'ssh-host-config'?  I've re-installed a
fresh instance of cygwin without openssh (only cygrunsrv).  Attached
is the output from cygcheck.

> On 8/22/2011 1:12 PM, Gary wrote:
>>
>> Doing a 'set -x' in my terminal window only outputted:
>> '+ssh-host-config' with no other information.
>>
>> Here is the actual "path" value inside the 'path' variable in my case:
>> C:\Perl\site\bin;C:\Perl\bin;C:\Program Files (x86)\Support
>> Tools\;C:\Program Files (x86)\Windows Resource
>>
>> Kits\Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;c:\Program
>> Files (x86)\Java\jre6\bin;C:\usr\bin
>>
>> Attached is the cygcheck.out ran by "cygcheck -s -v -r>
>> cygcheck.out".  There is a warning stating that there are multiple
>> cygwin1.dll files in my path, I check and there are only one after
>> grepping it out:
>> -rwxr-xr-x 1 Administrator Administrators 2666500 Mar 29 08:11 cygwin1.dll
>>
>> Thanks for your help!
>
> There's a few things here that you should clean-up:
>
> * Your path points to a non-Cygwin perl.  Please either remove that
>  installation or remove the install directory from your path.
> * You have installed Cygwin multiple times on this machine.  Can
>  you create a new installation where you only install Cygwin once?
> * OpenSSH is one of these installations.  You are virtually guaranteed
>  of a non-working 'sshd' if you install this 3rd party app.  If
>  you want to use Cygwin's 'sshd', don't install OpenSSH.  If you
>  prefer to use OpenSSH, install it and not Cygwin's 'openssh' package.
>  Better yet, don't install Cygwin at all in this case.
>
>
> --
> Larry

-- 
Gary Phelps
-------------- next part --------------

Cygwin Configuration Diagnostics
Current System Time: Tue Aug 23 11:50:39 2011

Windows 2003 Server R2 Enterprise Edition Ver 5.2 Build 3790 Service Pack 2

Running under WOW64 on AMD64

Running in Terminal Service session

Path:	C:\Perl\site\bin
	C:\Perl\bin
	C:\Program Files (x86)\Support Tools\
	C:\Program Files (x86)\Windows Resource Kits\Tools\
	C:\WINDOWS\system32
	C:\WINDOWS
	C:\WINDOWS\system32\WBEM
	c:\Program Files (x86)\Java\jre6\bin
	C:\usr\bin
	C:\cygwin\bin

Output from C:\cygwin\bin\id.exe
UID: 400(Administrator) GID: 401(mkpasswd)
401(mkpasswd)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

PWD = '/usr/sbin'
HOME = '/home/Administrator'

HOMEPATH = '\Documents and Settings\Administrator'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
ProgramW6432 = 'C:\Program Files'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'EM64T Family 6 Model 44 Stepping 2, GenuineIntel'
WINDIR = 'C:\WINDOWS'
USERDOMAIN = 'XEN-WIN32R2'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/WINDOWS/TEMP/1'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
USERNAME = 'Administrator'
ClusterLog = 'C:\WINDOWS\Cluster\cluster.log'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
USERPROFILE = 'C:\Documents and Settings\Administrator'
CLIENTNAME = 'GPHELPS-T400'
LOGONSERVER = '\\XEN-WIN32R2'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/WINDOWS/TEMP/1'
SYSTEMROOT = 'C:\WINDOWS'
PROCESSOR_REVISION = '2c02'
PROGRAMFILES = 'C:\Program Files (x86)'
NUMBER_OF_PROCESSORS = '7'
SESSIONNAME = 'RDP-Tcp#1'
COMPUTERNAME = 'XEN-WIN32R2'
_ = '/usr/bin/cygcheck'
OLDPWD = '/usr/bin'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu2\Programs\Cygwin
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: c5e39b7a9d22bafb Path: C:\cygwin

c:  hd  NTFS     20465Mb  30% CP CS UN PA FC     

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

Found: C:\cygwin\bin\awk
 -> C:\cygwin\bin\gawk.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:\WINDOWS\system32\find.exe
Found: C:\cygwin\bin\find.exe
Warning: C:\WINDOWS\system32\find.exe hides 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
Not Found: patch
Not Found: perl
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2009/11/18 12:52
   62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011/5/21 19:16
   43k 2010/01/02 C:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2010/1/2 14:49
   40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2009/3/1 6:32
   47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2010/1/2 17:31
   44k 2011/03/22 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2011/3/22 4:02
  317k 2011/07/31 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2011/7/31 5:14
   25k 2011/01/26 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2011/1/26 3:25
  358k 2011/04/29 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.4 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2011/4/29 4:37
  980k 2011/01/28 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2011/1/28 3:52
   31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2009/4/3 1:15
    5k 2011/03/29 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2011/3/28 21:14
    9k 2011/03/29 C:\cygwin\bin\cyglsa64.dll - os=5.2 img=0.0 sys=5.2
  123k 2011/05/19 C:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2011/5/19 2:41
   25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2010/1/2 14:48
   21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2009/3/1 6:31
   25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2010/1/2 17:30
  213k 2011/07/31 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2011/7/31 5:12
   63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2010/1/2 15:00
   66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2009/3/1 6:39
   63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2010/1/2 17:41
  195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2010/1/2 14:45
  237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009/3/1 6:28
  244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2010/1/2 17:28
   13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2010/1/2 14:47
   11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2009/3/1 6:30
   13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2010/1/2 16:30
  224k 2010/06/15 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2010/6/15 4:10
   10k 2010/06/15 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2010/6/15 4:11
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 5:45
  164k 2011/01/26 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2011/1/26 3:25
    8k 2011/05/05 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2011/5/5 7:33
  771k 2011/03/22 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2011/3/22 4:53
   48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2010/1/2 14:45
   48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2010/1/2 17:28
   76k 2010/08/01 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2010/8/1 21:04
 2604k 2011/03/29 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2011/3/29 8:10
    Cygwin DLL version info:
        DLL version: 1.7.9
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 237
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


No Cygwin services found.


Cygwin Package Information
Last downloaded files to: C:
Last downloaded files from: 

Package              Version              Status
_update-info-dir     00975-1              OK
alternatives         1.3.30c-10           OK
base-cygwin          3.0-1                OK
base-files           4.0-6                OK
bash                 4.1.10-4             OK
bzip2                1.0.6-2              OK
coreutils            8.10-1               OK
cygrunsrv            1.34-1               OK
cygutils             1.4.6-1              OK
cygwin               1.7.9-1              OK
cygwin-doc           1.7-1                OK
dash                 0.5.6.1-2            OK
diffutils            2.9-1                OK
dos2unix             5.3.1-1              OK
editrights           1.01-2               OK
findutils            4.5.9-2              OK
gawk                 4.0.0-1              OK
gettext              0.17-11              OK
grep                 2.6.3-1              OK
groff                1.20.1-2             OK
gzip                 1.4-1                OK
ipc-utils            1.0-1                OK
less                 444-1                OK
libattr1             2.4.43-1             OK
libbz2_1             1.0.6-2              OK
libgcc1              4.3.4-4              OK
libgmp3              4.3.2-1              OK
libiconv2            1.13.1-2             OK
libintl8             0.17-11              OK
liblzma5             5.0.2_20110517-1     OK
libncurses10         5.7-18               OK
libncurses8          5.5-10               OK
libncursesw10        5.7-18               OK
libpcre0             8.02-1               OK
libpopt0             1.6.4-4              OK
libreadline7         6.1.2-2              OK
libsigsegv2          2.10-1               OK
libstdc++6           4.3.4-4              OK
login                1.10-10              OK
man                  1.6f-1               OK
rebase               3.0.1-1              OK
run                  1.1.13-1             OK
sed                  4.2.1-1              OK
tar                  1.25-1               OK
terminfo             5.7_20091114-14      OK
terminfo0            5.5_20061104-12      OK
texinfo              4.13-3               OK
tzcode               2010j-1              OK
which                2.20-2               OK
xz                   5.0.2_20110517-1     OK
zlib0                1.2.5-1              OK
Use -h to see help about each section
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list