This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh-host-config hangs


Here are the diagnostics:


$ cygcheck -s -v -r


Cygwin Configuration Diagnostics
Current System Time: Wed Mar 24 20:47:49 2010

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Running in Terminal Service session

Path:   C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        C:\Windows\system32
        C:\Windows
        C:\Windows\System32\Wbem
        C:\cygwin\bin

Output from C:\cygwin\bin\id.exe
UID: 1020(funkhous) GID: 513(None)
0(root)             544(Administrators) 545(Users)          513(None)

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

USER = 'funkhous'
PWD = '/home/funkhous'
HOME = '/home/funkhous'

HOMEPATH = '\Documents and Settings\funkhous.DBYGJTJ1'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
DSETPATH = 'C:\Program Files\Dell\DSET\'
APPDATA = 'C:\Documents and Settings\funkhous.DBYGJTJ1\Application Data'
HOSTNAME = 'DBYGJTJ1'
TERM = 'cygwin'
RoxioCentral = 'C:\Program Files\Common Files\Roxio Shared\9.0\Roxio Central33\'


PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 23 Stepping 10, GenuineIntel'
WINDIR = 'C:\WINDOWS'
VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
SVN_PATH = 'C:\Progra~1\svn-win32-1.6.3\bin'
OLDPWD = '/usr/bin'
USERDOMAIN = 'DBYGJTJ1'
UATDATA = 'C:\WINDOWS\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77'


OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
VS90COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
QTJAVA = 'C:\Program Files\Java\jre6\lib\ext\QTJava.zip'
USERNAME = 'funkhous'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
LANG = 'C.UTF-8'
USERPROFILE = 'C:\Documents and Settings\funkhous.DBYGJTJ1'
CLIENTNAME = 'Console'
QMAKESPEC = 'cygwin-g++'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\DBYGJTJ1'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
USERDNSDOMAIN = 'DBYGJTJ1'
SVN_ASP_DOT_NET_HACK = '*'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1;.PSC1'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Microsoft XPS Document Writer (from BA-UAV-FUNK-LT)'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '170a'
CLASSPATH = '.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'RDP-Tcp#46'
COMPUTERNAME = 'DBYGJTJ1'
_ = '/usr/bin/cygcheck'


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_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 Menu\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     82639Mb  72% CP CS UN PA FC
d:  hd  NTFS    155684Mb  82% CP CS UN PA FC



Homeless Mail wrote:
Running in debug, it is hanging on the following. I'm an admin user on Windows XP SP3 32-bit.

*** STACKTRACE: main[557]->install_service[334]->csih_check_user[1701] returning with 0
+ '[' -n ntsec ']'
+ cygwin_env=(-e "CYGWIN=${csih_cygenv}")
+ '[' -z '' ']'
+ cygrunsrv -I sshd -d 'CYGWIN sshd' -p /usr/sbin/sshd -a -D -y tcpip -e CYGWIN=ntsec



Funky wrote:
I'm trying to execute ssh-host-config from within a Cygwin shell and it hangs indefinitely after I enter the value of CYGWIN for the daemon. Help?

bash-3.2$ ssh-host-config
*** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
*** Info: Creating default /etc/ssh_config file
*** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read /usr/share/doc/openssh/README.privsep.
*** Query: Should privilege separation be used? (yes/no) yes
*** Info: Updating /etc/sshd_config file
*** Warning: The following functions require administrator privileges!
*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes
*** Query: Enter the value of CYGWIN for the daemon: [] ntsec





-- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]