Re: SSHD Issue Windows 2003 64 bit
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 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 userbinary,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:
Re: SSHD Issue Windows 2003 64 bit
On 8/23/2011 2:54 PM, Gary wrote: 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. 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. You had installed http://sshwindows.sourceforge.net/ in the previous virtual machine. This is incompatible with Cygwin's installation. That's why I recommended choosing it or Cygwin and its package. So if you're content to use Cygwin's package, you can install openssh via setup.exe now. I hadn't noticed that you are using Xen as the basis for your virtualization. Be aware that Xen has had problems in the past supporting Cygwin. I don't know if those issues have been resolved in Xen or not. But if you continue to experience trouble under Xen, you may want to try a different product like VirtualBox, VMWare, etc. That may help you. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
On 8/19/2011 5:53 PM, Gary wrote: I've re-installed cygwin on a fresh virtual machine (offline install) and have tried running: 'ssh-host-config' -- still no echo from the terminal Typing 'set -x' into the 'bash' shell before running the above might provide some helpful debugging feedback info for you. 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a service:OpenService: Win32 error 1060:The specified service does not exist as an installed service. 'net start sshd' -- the service name is invalid. More help is available by typing NET HELPMSG 2185. Not surprising since 'ssh-host-config' didn't run/run correctly. My environment variables below: Variable:Home Value: C:\ Remove HOME. You don't need it. Variable: Path Value: C:\cygwin\bin You should have a little more than just this. Windows system paths should also be in there. Did you edit the path? Variable:TEMP Value: %USERPROFILE%\Local Settings\Temp Variable:TMP Value: %USERPROFILE%\Local Settings\Temp Remove these. I have re-created the passwd file and group file via our previous conversations. What other steps could I take to ensure SSHD to run as a service on Windows Server 2003 r2 64bit? Any other ideas? I don't have time to check through the archives to see if we've been over this route but it seems to me like we need to look at your configuration. Read and follow the instructions found at this link: http://cygwin.com/problems.html -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
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! On 8/19/2011 5:53 PM, Gary wrote: I've re-installed cygwin on a fresh virtual machine (offline install) and have tried running: 'ssh-host-config' -- still no echo from the terminal Typing 'set -x' into the 'bash' shell before running the above might provide some helpful debugging feedback info for you. 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a service:OpenService: Win32 error 1060:The specified service does not exist as an installed service. 'net start sshd' -- the service name is invalid. More help is available by typing NET HELPMSG 2185. Not surprising since 'ssh-host-config' didn't run/run correctly. My environment variables below: Variable:Home Value: C:\ Remove HOME. You don't need it. Variable: Path Value: C:\cygwin\bin You should have a little more than just this. Windows system paths should also be in there. Did you edit the path? Variable:TEMP Value: %USERPROFILE%\Local Settings\Temp Variable:TMP Value: %USERPROFILE%\Local Settings\Temp Remove these. I have re-created the passwd file and group file via our previous conversations. What other steps could I take to ensure SSHD to run as a service on Windows Server 2003 r2 64bit? Any other ideas? I don't have time to check through the archives to see if we've been over this route but it seems to me like we need to look at your configuration. Read and follow the instructions found at this link: http://cygwin.com/problems.html -- Larry _ -- Gary Phelps Cygwin Configuration Diagnostics Current System Time: Mon Aug 22 10:03:58 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: 500(Administrator) GID: 513(None) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '/usr/bin' HOME = '/cygdrive/c' 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/DOCUME~1/ADMINI~1/LOCALS~1/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/DOCUME~1/ADMINI~1/LOCALS~1/Temp/1' SYSTEMROOT = 'C:\WINDOWS' PROCESSOR_REVISION = '2c02' PROGRAMFILES = 'C:\Program Files (x86)' NUMBER_OF_PROCESSORS = '7' SESSIONNAME = 'RDP-Tcp#4' COMPUTERNAME = 'XEN-WIN32R2' _ = '/usr/bin/cygcheck' 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\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 0x000a native = 'C:\Program Files (x86)\OpenSSH\' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
Re: SSHD Issue Windows 2003 64 bit
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 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
I've re-installed cygwin on a fresh virtual machine (offline install) and have tried running: 'ssh-host-config' -- still no echo from the terminal 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a service:OpenService: Win32 error 1060:The specified service does not exist as an installed service. 'net start sshd' -- the service name is invalid. More help is available by typing NET HELPMSG 2185. My environment variables below: Variable:Home Value: C:\ Variable: Path Value: C:\cygwin\bin Variable:TEMP Value: %USERPROFILE%\Local Settings\Temp Variable:TMP Value: %USERPROFILE%\Local Settings\Temp I have re-created the passwd file and group file via our previous conversations. What other steps could I take to ensure SSHD to run as a service on Windows Server 2003 r2 64bit? Any other ideas? On 8/16/2011 6:25 PM, Gary wrote: Sounds good I'll take those steps; In the meantime my cygwin.bat file looks like this: [at]echo off (note: at sign removed because it was causing false positives on an email filter) CYGWIN=binmode tty ntsec C: chdir C:\Cygwin\bin bash --login -i FWIW, you don't need any of the values you've added to the CYGWIN environment variable. They are all deprecated or will be in the cygwin 1.7.10 package. Their existence, however, should not cause any problems. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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 -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
I've re-installed cygwin on a fresh virtual machine (offline install) and have tried running: 'ssh-host-config' -- still no echo from the terminal 'cygrunsrv -S sshd' -- cygrunsrv: Error starting a service: OpenService: Win32 error 1060:The specified service does not exist as an installed service. 'net start sshd' -- The service name is invalid. More help is available by typing NET HELPMSG 2185. My environment variables below: Variable:Home Value: C:\ Variable: Path Value: C:\cygwin\bin Variable:TEMP Value: %USERPROFILE%\Local Settings\Temp Variable:TMP Value: %USERPROFILE%\Local Settings\Temp I have re-created the passwd file and group file via our previous conversations. What other steps could I take to ensure SSHD to run as a service on Windows Server 2003 r2 64bit? Any other ideas? On 8/16/2011 6:25 PM, Gary wrote: Sounds good I'll take those steps; In the meantime my cygwin.bat file looks like this: [at]echo off (note: at sign removed because it was causing false positives on an email filter) CYGWIN=binmode tty ntsec C: chdir C:\Cygwin\bin bash --login -i FWIW, you don't need any of the values you've added to the CYGWIN environment variable. They are all deprecated or will be in the cygwin 1.7.10 package. Their existence, however, should not cause any problems. -- Larry -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
Sounds good I'll take those steps; In the meantime my cygwin.bat file looks like this: [at]echo off (note: at sign removed because it was causing false positives on an email filter) CYGWIN=binmode tty ntsec C: chdir C:\Cygwin\bin bash --login -i -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
On 8/16/2011 6:25 PM, Gary wrote: Sounds good I'll take those steps; In the meantime my cygwin.bat file looks like this: [at]echo off (note: at sign removed because it was causing false positives on an email filter) CYGWIN=binmode tty ntsec C: chdir C:\Cygwin\bin bash --login -i FWIW, you don't need any of the values you've added to the CYGWIN environment variable. They are all deprecated or will be in the cygwin 1.7.10 package. Their existence, however, should not cause any problems. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
Any ideas? On Fri, Aug 12, 2011 at 2:54 PM, Gary gary.mphe...@gmail.com wrote: Yeah that was a typo.. So my /etc/passwd /etc/group file both have the SYSTEM in them: SYSTEM:S-1-5-18:18: - Group SYSTEM:*:18:544:,S-1-5-18:: - passwd Whenever I run 'ssh-host-config' I receive no echo from the terminal, I don't see 'cyg_srv' anywhere in my passwd file below: SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-XEN-VM64\Administrator,S-1-5-21-693619687-569673921-3156715980-500:/home/Administrator:/bin/switch Guest:unused_by_nt/2000/xp:501:513:U-XEN-VM64\Guest,S-1-5-21-693619687-569673921-3156715980-501:/home/Guest:/bin/switch scadmin:unused_by_nt/2000/xp:1006:513:scadmin,U-XEN-VM64\scadmin,S-1-5-21-693619687-569673921-3156715980-1006:/home/scadmin:/bin/switch SUPPORT_388945a0:unused_by_nt/2000/xp:1001:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-XEN-VM64\SUPPORT_388945a0,S-1-5-21-693619687-569673921-3156715980-1001:/home/SUPPORT_388945a0:/bin/switch On Thu, Aug 11, 2011 at 2:33 PM, Gary gary.mphe...@gmail.com wrote: Created the passwd and group files from: /bin/mkpasswd -l -c /etc/passwd /bin/mkgroup - l -c /etc/group passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the service in windows.. On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: * Gary (Thu, 11 Aug 2011 11:25:04 -0700) I've tried re-running the 000-cygwin-post-install.sh receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a passwd-grp.sh script. Both files should actually be in /etc/postinstall and end in .sh.done Just try running /bin/mkpasswd -l -c /etc/passwd and /bin/mkgroup - l -c /etc/group manually. What should my passwd file look like? On a Windows 7 non domain machine like this for instance (mind you, line breaks and I don't run sshd as service on my machine): SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- 3027294242-313109463-500:/home/Administrator:/bin/bash Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- 313109463-501:/home/Guest:/bin/bash HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser $:/bin/bash thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- 3027294242-313109463-1001:/home/thorsten:/bin/bash __vmware_user__:unused:1004:513:__vmware_user__,U-hombre \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ __vmware_user__:/bin/bash Thorsten -- 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 -- Gary Phelps -- Gary Phelps -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
On 8/15/2011 5:11 PM, Gary wrote: On Fri, Aug 12, 2011 at 2:54 PM, Garygary.mphelps wrote: Yeah that was a typo.. So my /etc/passwd /etc/group file both have the SYSTEM in them: SYSTEM:S-1-5-18:18: - Group SYSTEM:*:18:544:,S-1-5-18:: - passwd Whenever I run 'ssh-host-config' I receive no echo from the terminal, I don't see 'cyg_srv' anywhere in my passwd file below: snip Any ideas? Well, that's not right. There must be something in your environment that's getting in the way. Check your TERM value. Here's the start of output from 'ssh-host-config' on my machine: $ ssh-host-config *** Info: Generating /etc/ssh_host_key *** Info: Generating /etc/ssh_host_rsa_key *** Info: Generating /etc/ssh_host_dsa_key *** Info: Generating /etc/ssh_host_ecdsa_key *** Info: Creating default /etc/ssh_config file *** 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/READ ME.privsep. *** Query: Should privilege separation be used? (yes/no) yes *** Info: Note that creating a new user requires that the current account have *** Info: Administrator privileges. Should this script attempt to create a *** Query: new local account 'sshd'? (yes/no) yes *** Info: Updating /etc/sshd_config file . . . -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
Yup, that's the output I get on my 32-bit windows machine, I'm not seeing any value in environment for 'TERM'. Are you referring to PATH? %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\cygwin\bin;c:\cygwin\usr\bin;c:\cygwin\sbin;c:\cygwin\usr\sbin;C:\Program Files (x86)\OpenSSH\bin On Tue, Aug 9, 2011 at 1:47 PM, Gary gary.mphe...@gmail.com wrote: I'm having issues getting SSHD working on Windows Server 2003 64 bit. I've properly installed SSHD as a service but I receive the following error when starting the service from 'services.msc': 'The SSHD service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, The Performance Logs and Alerts service'. Also when I execute the following 'net start sshd' from the cygwin terminal I receive the following: 'The SSHD service is starting. The SSHD service could not be started. The service did not report an error'. Anything would help, thanks! - Gary -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
On 8/15/2011 7:11 PM, Gary wrote: Yup, that's the output I get on my 32-bit windows machine, I'm not seeing any value in environment for 'TERM'. This should be set to cygwin if you're running from 'cygwin.bat'. Are you referring to PATH? %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\cygwin\bin;c:\cygwin\usr\bin;c:\cygwin\sbin;c:\cygwin\usr\sbin;C:\Program Files (x86)\OpenSSH\bin That's certainly an important part of your environment and I do believe that you've hit this one right on the nose! You have an alternate installation of OpenSSH that's getting in your way. Uninstall it and try again. I think you'll have better luck. If not, you may find it's easiest/quickest to just wipe your Cygwin installation and reinstall. If that's too drastic for you, you'll want to go through 'ssh-host-config' manually to make sure that everything is properly configured. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
Yeah that was a typo.. So my /etc/passwd /etc/group file both have the SYSTEM in them: SYSTEM:S-1-5-18:18: - Group SYSTEM:*:18:544:,S-1-5-18:: - passwd Whenever I run 'ssh-host-config' I receive no echo from the terminal, I don't see 'cyg_srv' anywhere in my passwd file below: SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-XEN-VM64\Administrator,S-1-5-21-693619687-569673921-3156715980-500:/home/Administrator:/bin/switch Guest:unused_by_nt/2000/xp:501:513:U-XEN-VM64\Guest,S-1-5-21-693619687-569673921-3156715980-501:/home/Guest:/bin/switch scadmin:unused_by_nt/2000/xp:1006:513:scadmin,U-XEN-VM64\scadmin,S-1-5-21-693619687-569673921-3156715980-1006:/home/scadmin:/bin/switch SUPPORT_388945a0:unused_by_nt/2000/xp:1001:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-XEN-VM64\SUPPORT_388945a0,S-1-5-21-693619687-569673921-3156715980-1001:/home/SUPPORT_388945a0:/bin/switch On Thu, Aug 11, 2011 at 2:33 PM, Gary gary.mphe...@gmail.com wrote: Created the passwd and group files from: /bin/mkpasswd -l -c /etc/passwd /bin/mkgroup - l -c /etc/group passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the service in windows.. On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: * Gary (Thu, 11 Aug 2011 11:25:04 -0700) I've tried re-running the 000-cygwin-post-install.sh receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a passwd-grp.sh script. Both files should actually be in /etc/postinstall and end in .sh.done Just try running /bin/mkpasswd -l -c /etc/passwd and /bin/mkgroup - l -c /etc/group manually. What should my passwd file look like? On a Windows 7 non domain machine like this for instance (mind you, line breaks and I don't run sshd as service on my machine): SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- 3027294242-313109463-500:/home/Administrator:/bin/bash Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- 313109463-501:/home/Guest:/bin/bash HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser $:/bin/bash thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- 3027294242-313109463-1001:/home/thorsten:/bin/bash __vmware_user__:unused:1004:513:__vmware_user__,U-hombre \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ __vmware_user__:/bin/bash Thorsten -- 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 -- Gary Phelps -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
* Gary (Wed, 10 Aug 2011 15:59:14 -0700) The logs specify: /var/empty must be owned by root and not group or world-writable. That's pretty clear, isn't it? I've tried changing permissions, What exactly did you try? and also looking on the forums for this {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't figure it out. Changing ownership is done with chown and permissions with chmod. Thorsten -- 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
Re: SSHD Issue Windows 2003 64 bit
On 8/11/2011 4:15 AM, Thorsten Kampe wrote: * Gary (Wed, 10 Aug 2011 15:59:14 -0700) The logs specify: /var/empty must be owned by root and not group or world-writable. That's pretty clear, isn't it? I've tried changing permissions, What exactly did you try? I expect the confusion comes from the stock sshd message that specifies 'root' where on Cygwin it really needs to be the user set up to run the service ('LocalSystem' on XP x86 and, typically, 'cyg_server' on everything else). -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
I've attempted chmod from the terminal and to change the permissions through the standard UI. I've attempted to chown to SYSTEM, but the user does not exist. Here ar e the permission settings for the /var/empty folder: bash-4.1$ getfacl empty # file: empty # owner: Administrator # group: mkpasswd user::rwx group::r-x mask:rwx other:r-x default:user::rwx default:user:Administrator:rwx default:group::r-x default:mask:rwx default:other:r-x On Thu, Aug 11, 2011 at 1:15 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: * Gary (Wed, 10 Aug 2011 15:59:14 -0700) The logs specify: /var/empty must be owned by root and not group or world-writable. That's pretty clear, isn't it? I've tried changing permissions, What exactly did you try? and also looking on the forums for this {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't figure it out. Changing ownership is done with chown and permissions with chmod. Thorsten -- 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 -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
* Gary (Thu, 11 Aug 2011 10:01:58 -0700) I've attempted chmod from the terminal and to change the permissions through the standard UI. Terminal is better. Try again chmod 700 /var/empty. I've attempted to chown to SYSTEM, but the user does not exist. It should: % grep -i system /etc/passwd SYSTEM:*:18:544:,S-1-5-18:: Try rerunning 000-cygwin-post-install.sh or passwd-grp.sh (move your passwd file first). Thorsten -- 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
Re: SSHD Issue Windows 2003 64 bit
I've tried re-running the 000-cygwin-post-install.sh receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a passwd-grp.sh script. What should my passwd file look like? On Thu, Aug 11, 2011 at 10:33 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: * Gary (Thu, 11 Aug 2011 10:01:58 -0700) I've attempted chmod from the terminal and to change the permissions through the standard UI. Terminal is better. Try again chmod 700 /var/empty. I've attempted to chown to SYSTEM, but the user does not exist. It should: % grep -i system /etc/passwd SYSTEM:*:18:544:,S-1-5-18:: Try rerunning 000-cygwin-post-install.sh or passwd-grp.sh (move your passwd file first). Thorsten -- 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 -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
* Gary (Thu, 11 Aug 2011 11:25:04 -0700) I've tried re-running the 000-cygwin-post-install.sh receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a passwd-grp.sh script. Both files should actually be in /etc/postinstall and end in .sh.done Just try running /bin/mkpasswd -l -c /etc/passwd and /bin/mkgroup - l -c /etc/group manually. What should my passwd file look like? On a Windows 7 non domain machine like this for instance (mind you, line breaks and I don't run sshd as service on my machine): SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- 3027294242-313109463-500:/home/Administrator:/bin/bash Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- 313109463-501:/home/Guest:/bin/bash HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser $:/bin/bash thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- 3027294242-313109463-1001:/home/thorsten:/bin/bash __vmware_user__:unused:1004:513:__vmware_user__,U-hombre \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ __vmware_user__:/bin/bash Thorsten -- 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
Re: SSHD Issue Windows 2003 64 bit
Created the passwd and group files from: /bin/mkpasswd -l -c /etc/passwd /bin/mkgroup - l -c /etc/group passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the service in windows.. On Thu, Aug 11, 2011 at 11:53 AM, Thorsten Kampe thors...@thorstenkampe.de wrote: * Gary (Thu, 11 Aug 2011 11:25:04 -0700) I've tried re-running the 000-cygwin-post-install.sh receive no echo from the terminal, I've moved the passwd file (from my understanding outside the directory before running the post-install). My passwd file looks like this: sshd:*:27:27:sshd privsep:/var/empty:/sbin/nologin I can't find a passwd-grp.sh script. Both files should actually be in /etc/postinstall and end in .sh.done Just try running /bin/mkpasswd -l -c /etc/passwd and /bin/mkgroup - l -c /etc/group manually. What should my passwd file look like? On a Windows 7 non domain machine like this for instance (mind you, line breaks and I don't run sshd as service on my machine): SYSTEM:*:18:544:,S-1-5-18:: LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19:: NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused:500:513:U-hombre\Administrator,S-1-5-21-252259350- 3027294242-313109463-500:/home/Administrator:/bin/bash Guest:unused:501:513:U-hombre\Guest,S-1-5-21-252259350-3027294242- 313109463-501:/home/Guest:/bin/bash HomeGroupUser$:unused:1002:513:HomeGroupUser$,U-hombre\HomeGroupUser$,S- 1-5-21-252259350-3027294242-313109463-1002:/home/HomeGroupUser $:/bin/bash thorsten:unused:1001:513:U-hombre\thorsten,S-1-5-21-252259350- 3027294242-313109463-1001:/home/thorsten:/bin/bash __vmware_user__:unused:1004:513:__vmware_user__,U-hombre \__vmware_user__,S-1-5-21-252259350-3027294242-313109463-1004:/home/ __vmware_user__:/bin/bash Thorsten -- 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 -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
On 8/11/2011 5:33 PM, Gary wrote: Created the passwd and group files from: /bin/mkpasswd -l -c /etc/passwd /bin/mkgroup - l -c /etc/group ^ Presumably this is a typo transcribing to your email message? passwd files looks good now, moved passwd file and re-ran ./000-cygwin-post-install.sh That you didn't really need, though it probably did no harm. Can you check if SYSTEM is in '/etc/group' and '/etc/passwd' though still? Still when I 'net start sshd' I still receive the same error, also when I try to re-instantiate the service in windows.. Did you run ssh-host-config (and ssh-user-config) as specified by '/usr/share/doc/Cygwin/openssh.README'? If so, do you have 'cyg_server' in your '/etc/passwd' file? This really should be the user the service runs under on 2003 x64. -- Larry _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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
Re: SSHD Issue Windows 2003 64 bit
The logs specify: /var/empty must be owned by root and not group or world-writable. I've tried changing permissions, and also looking on the forums for this {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't figure it out. Let me know, thanks! On Tue, Aug 9, 2011 at 10:27 PM, Csaba Raduly rcs...@gmail.com wrote: On Tue, Aug 9, 2011 at 10:47 PM, Gary wrote: I'm having issues getting SSHD working on Windows Server 2003 64 bit. I've properly installed SSHD as a service but I receive the following error when starting the service from 'services.msc': 'The SSHD service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, The Performance Logs and Alerts service'. Also when I execute the following 'net start sshd' from the cygwin terminal I receive the following: 'The SSHD service is starting. The SSHD service could not be started. The service did not report an error'. Anything would help, thanks! You need to check the event log (application and/or system). Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. Ok, it boots. Which means it must be bug-free and perfect. -- Linus Torvalds People disagree with me. I just ignore them. -- Linus Torvalds -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
http://cygwin.com/ml/cygwin/2008-02/msg00429.html (ignore the {}) On Wed, Aug 10, 2011 at 3:59 PM, Gary gary.mphe...@gmail.com wrote: The logs specify: /var/empty must be owned by root and not group or world-writable. I've tried changing permissions, and also looking on the forums for this {http://cygwin.com/ml/cygwin/2008-02/msg00429.html} I still can't figure it out. Let me know, thanks! On Tue, Aug 9, 2011 at 10:27 PM, Csaba Raduly rcs...@gmail.com wrote: On Tue, Aug 9, 2011 at 10:47 PM, Gary wrote: I'm having issues getting SSHD working on Windows Server 2003 64 bit. I've properly installed SSHD as a service but I receive the following error when starting the service from 'services.msc': 'The SSHD service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, The Performance Logs and Alerts service'. Also when I execute the following 'net start sshd' from the cygwin terminal I receive the following: 'The SSHD service is starting. The SSHD service could not be started. The service did not report an error'. Anything would help, thanks! You need to check the event log (application and/or system). Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. Ok, it boots. Which means it must be bug-free and perfect. -- Linus Torvalds People disagree with me. I just ignore them. -- Linus Torvalds -- Gary Phelps -- Gary Phelps -- 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
Re: SSHD Issue Windows 2003 64 bit
On Tue, Aug 9, 2011 at 10:47 PM, Gary wrote: I'm having issues getting SSHD working on Windows Server 2003 64 bit. I've properly installed SSHD as a service but I receive the following error when starting the service from 'services.msc': 'The SSHD service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, The Performance Logs and Alerts service'. Also when I execute the following 'net start sshd' from the cygwin terminal I receive the following: 'The SSHD service is starting. The SSHD service could not be started. The service did not report an error'. Anything would help, thanks! You need to check the event log (application and/or system). Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. Ok, it boots. Which means it must be bug-free and perfect. -- Linus Torvalds People disagree with me. I just ignore them. -- Linus Torvalds -- 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