* SSHD Issue Windows 2003 64 bit @ 2011-08-09 20:48 Gary 2011-08-10 5:27 ` Csaba Raduly 2011-08-15 23:11 ` Gary 0 siblings, 2 replies; 26+ messages in thread From: Gary @ 2011-08-09 20:48 UTC (permalink / raw) To: cygwin 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 -- 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-09 20:48 SSHD Issue Windows 2003 64 bit Gary @ 2011-08-10 5:27 ` Csaba Raduly 2011-08-10 22:59 ` Gary 2011-08-15 23:11 ` Gary 1 sibling, 1 reply; 26+ messages in thread From: Csaba Raduly @ 2011-08-10 5:27 UTC (permalink / raw) To: gphelps, cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-10 5:27 ` Csaba Raduly @ 2011-08-10 22:59 ` Gary 2011-08-10 23:20 ` Gary 2011-08-11 8:16 ` Thorsten Kampe 0 siblings, 2 replies; 26+ messages in thread From: Gary @ 2011-08-10 22:59 UTC (permalink / raw) To: Csaba Raduly; +Cc: cygwin 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 <rcsaba@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-10 22:59 ` Gary @ 2011-08-10 23:20 ` Gary 2011-08-11 8:16 ` Thorsten Kampe 1 sibling, 0 replies; 26+ messages in thread From: Gary @ 2011-08-10 23:20 UTC (permalink / raw) To: Csaba Raduly; +Cc: cygwin http://cygwin.com/ml/cygwin/2008-02/msg00429.html (ignore the {}) On Wed, Aug 10, 2011 at 3:59 PM, Gary <gary.mphelps@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 <rcsaba@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-10 22:59 ` Gary 2011-08-10 23:20 ` Gary @ 2011-08-11 8:16 ` Thorsten Kampe 2011-08-11 16:41 ` Larry Hall (Cygwin) 2011-08-11 17:02 ` Gary 1 sibling, 2 replies; 26+ messages in thread From: Thorsten Kampe @ 2011-08-11 8:16 UTC (permalink / raw) To: cygwin * 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 8:16 ` Thorsten Kampe @ 2011-08-11 16:41 ` Larry Hall (Cygwin) 2011-08-11 17:02 ` Gary 1 sibling, 0 replies; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-11 16:41 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 8:16 ` Thorsten Kampe 2011-08-11 16:41 ` Larry Hall (Cygwin) @ 2011-08-11 17:02 ` Gary 2011-08-11 17:34 ` Thorsten Kampe 1 sibling, 1 reply; 26+ messages in thread From: Gary @ 2011-08-11 17:02 UTC (permalink / raw) To: cygwin 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 <thorsten@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 17:02 ` Gary @ 2011-08-11 17:34 ` Thorsten Kampe 2011-08-11 18:25 ` Gary 0 siblings, 1 reply; 26+ messages in thread From: Thorsten Kampe @ 2011-08-11 17:34 UTC (permalink / raw) To: cygwin * 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 17:34 ` Thorsten Kampe @ 2011-08-11 18:25 ` Gary 2011-08-11 18:54 ` Thorsten Kampe 0 siblings, 1 reply; 26+ messages in thread From: Gary @ 2011-08-11 18:25 UTC (permalink / raw) To: cygwin 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 <thorsten@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 18:25 ` Gary @ 2011-08-11 18:54 ` Thorsten Kampe 2011-08-11 21:33 ` Gary 0 siblings, 1 reply; 26+ messages in thread From: Thorsten Kampe @ 2011-08-11 18:54 UTC (permalink / raw) To: cygwin * 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 18:54 ` Thorsten Kampe @ 2011-08-11 21:33 ` Gary 2011-08-11 23:20 ` Larry Hall (Cygwin) 2011-08-12 21:55 ` Gary 0 siblings, 2 replies; 26+ messages in thread From: Gary @ 2011-08-11 21:33 UTC (permalink / raw) To: cygwin 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 <thorsten@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 21:33 ` Gary @ 2011-08-11 23:20 ` Larry Hall (Cygwin) 2011-08-12 21:55 ` Gary 1 sibling, 0 replies; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-11 23:20 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-11 21:33 ` Gary 2011-08-11 23:20 ` Larry Hall (Cygwin) @ 2011-08-12 21:55 ` Gary 2011-08-15 21:11 ` Gary 1 sibling, 1 reply; 26+ messages in thread From: Gary @ 2011-08-12 21:55 UTC (permalink / raw) To: cygwin 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.mphelps@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 > <thorsten@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-12 21:55 ` Gary @ 2011-08-15 21:11 ` Gary 2011-08-15 21:46 ` Larry Hall (Cygwin) 0 siblings, 1 reply; 26+ messages in thread From: Gary @ 2011-08-15 21:11 UTC (permalink / raw) To: cygwin Any ideas? On Fri, Aug 12, 2011 at 2:54 PM, Gary <gary.mphelps@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.mphelps@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 >> <thorsten@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-15 21:11 ` Gary @ 2011-08-15 21:46 ` Larry Hall (Cygwin) 0 siblings, 0 replies; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-15 21:46 UTC (permalink / raw) To: cygwin On 8/15/2011 5:11 PM, Gary wrote: > On Fri, Aug 12, 2011 at 2:54 PM, Gary<gary.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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-09 20:48 SSHD Issue Windows 2003 64 bit Gary 2011-08-10 5:27 ` Csaba Raduly @ 2011-08-15 23:11 ` Gary 2011-08-16 3:57 ` Larry Hall (Cygwin) 1 sibling, 1 reply; 26+ messages in thread From: Gary @ 2011-08-15 23:11 UTC (permalink / raw) To: cygwin 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.mphelps@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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-15 23:11 ` Gary @ 2011-08-16 3:57 ` Larry Hall (Cygwin) 2011-08-16 22:25 ` Gary 0 siblings, 1 reply; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-16 3:57 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-16 3:57 ` Larry Hall (Cygwin) @ 2011-08-16 22:25 ` Gary 2011-08-17 2:24 ` Larry Hall (Cygwin) 0 siblings, 1 reply; 26+ messages in thread From: Gary @ 2011-08-16 22:25 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-16 22:25 ` Gary @ 2011-08-17 2:24 ` Larry Hall (Cygwin) 2011-08-19 21:53 ` Gary 2011-08-19 21:59 ` Gary 0 siblings, 2 replies; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-17 2:24 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-17 2:24 ` Larry Hall (Cygwin) @ 2011-08-19 21:53 ` Gary 2011-08-22 15:15 ` Larry Hall (Cygwin) 2011-08-19 21:59 ` Gary 1 sibling, 1 reply; 26+ messages in thread From: Gary @ 2011-08-19 21:53 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-19 21:53 ` Gary @ 2011-08-22 15:15 ` Larry Hall (Cygwin) 2011-08-22 17:12 ` Gary 0 siblings, 1 reply; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-22 15:15 UTC (permalink / raw) To: Cygwin List; +Cc: gphelps 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-22 15:15 ` Larry Hall (Cygwin) @ 2011-08-22 17:12 ` Gary 2011-08-22 20:39 ` Larry Hall (Cygwin) 0 siblings, 1 reply; 26+ messages in thread From: Gary @ 2011-08-22 17:12 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 2425 bytes --] 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 [-- Attachment #2: cygcheck.out.txt --] [-- Type: text/plain, Size: 36479 bytes --] 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) = 0x0000000a native = 'C:\Program Files (x86)\OpenSSH\' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home (default) = 0x0000000a native = 'C:\Program Files (x86)\OpenSSH\home' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 0x0000000a native = 'C:\Program Files (x86)\OpenSSH\bin' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\Program Options (default) = '' HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations (default) = '\??\C:\cygwin_new' c5e39b7a9d22bafb = '\??\C:\cygwin' d3312869c647419e = '\??\C:\Program Files (x86)\OpenSSH' 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: 3046491735c7e87c Path: C:\cygwin_new (ORPHANED) System: Key: c5e39b7a9d22bafb Path: C:\cygwin System: Key: d3312869c647419e Path: C:\Program Files (x86)\OpenSSH c: hd NTFS 20465Mb 34% 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 Found: C:\Perl\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 Not Found: vim 15k 2009/12/27 .\cygattr-1.dll - os=4.0 img=1.0 sys=4.0 "cygattr-1.dll" v0.0 ts=2009/11/18 12:52 95k 2010/06/24 .\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0 "cygblkid-1.dll" v0.0 ts=2010/6/24 19:20 62k 2011/05/21 .\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2011/5/21 19:16 8k 2011/01/28 .\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2011/1/28 3:51 108k 2010/01/05 .\cygcloog-0.dll - os=4.0 img=1.0 sys=4.0 "cygcloog-0.dll" v0.0 ts=2010/1/5 0:45 7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 7:57 1147k 2011/03/16 .\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2011/3/16 20:54 943k 2007/12/17 .\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.5.dll" v0.0 ts=2007/12/17 13:12 1296k 2007/12/17 .\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 13:12 511k 2010/06/17 .\cygedit-0.dll - os=4.0 img=1.0 sys=4.0 "cygedit-0.dll" v0.0 ts=2010/6/17 11:42 118k 2008/05/09 .\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-1.dll" v0.0 ts=2008/5/9 4:03 22k 2011/03/22 .\cygffi-4.dll - os=4.0 img=1.0 sys=4.0 "cygffi-4.dll" v0.0 ts=2011/3/22 4:13 43k 2010/01/02 .\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 .\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 .\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 .\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 449k 2011/05/20 .\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0 "cyggcrypt-11.dll" v0.0 ts=2011/5/20 2:29 19k 2009/02/26 .\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2009/2/26 7:58 8k 2009/02/26 .\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 7:58 317k 2011/07/31 .\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0 "cyggmp-3.dll" v0.0 ts=2011/7/31 5:14 14k 2011/07/31 .\cyggmpxx-4.dll - os=4.0 img=1.0 sys=4.0 "cyggmpxx-4.dll" v0.0 ts=2011/7/31 10:31 14k 2011/05/20 .\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0 "cyggpg-error-0.dll" v0.0 ts=2011/5/20 2:04 25k 2011/01/26 .\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 .\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 .\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 .\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 .\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 .\cyglsa64.dll - os=5.2 img=0.0 sys=5.2 123k 2011/05/19 .\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0 "cyglzma-5.dll" v0.0 ts=2011/5/19 2:41 146k 2010/05/19 .\cygmcrypt-4.dll - os=4.0 img=1.0 sys=4.0 "cygmcrypt-4.dll" v0.0 ts=2010/5/19 22:28 25k 2010/01/02 .\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 .\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 .\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0 "cygmenuw-10.dll" v0.0 ts=2010/1/2 17:30 222k 2005/05/28 .\cygmhash-2.dll - os=4.0 img=1.0 sys=4.0 "cygmhash-2.dll" v0.0 ts=2005/5/28 9:40 213k 2011/07/31 .\cygmp-3.dll - os=4.0 img=1.0 sys=4.0 "cygmp-3.dll" v0.0 ts=2011/7/31 5:12 64k 2009/11/09 .\cygmpc-1.dll - os=4.0 img=1.0 sys=4.0 "cygmpc-1.dll" v0.0 ts=2009/11/9 1:21 269k 2009/06/07 .\cygmpfr-1.dll - os=4.0 img=1.0 sys=4.0 "cygmpfr-1.dll" v0.0 ts=2009/6/7 21:10 63k 2010/01/02 .\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 .\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 .\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 .\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 .\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 .\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 .\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 .\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 .\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 .\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 .\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 .\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/9 5:45 695k 2009/04/18 .\cygppl-7.dll - os=4.0 img=1.0 sys=4.0 "cygppl-7.dll" v0.0 ts=2009/4/18 12:44 2481k 2009/04/18 .\cygppl_c-2.dll - os=4.0 img=1.0 sys=4.0 "cygppl_c-2.dll" v0.0 ts=2009/4/18 12:47 18k 2009/04/18 .\cygpwl-4.dll - os=4.0 img=1.0 sys=4.0 "cygpwl-4.dll" v0.0 ts=2009/4/18 12:44 164k 2011/01/26 .\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 .\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0 "cygsigsegv-2.dll" v0.0 ts=2011/5/5 7:33 1613k 2010/12/01 .\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0 "cygsqlite3-0.dll" v0.0 ts=2010/12/1 12:20 263k 2011/03/16 .\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.8.dll" v0.0 ts=2011/3/16 20:54 8k 2011/03/22 .\cygssp-0.dll - os=4.0 img=1.0 sys=4.0 "cygssp-0.dll" v0.0 ts=2011/3/22 4:12 771k 2011/03/22 .\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 .\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 .\cygticw-10.dll - os=4.0 img=1.0 sys=4.0 "cygticw-10.dll" v0.0 ts=2010/1/2 17:28 16k 2010/06/24 .\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0 "cyguuid-1.dll" v0.0 ts=2010/6/24 19:19 28k 2010/03/28 .\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0 "cygwrap-0.dll" v0.0 ts=2010/3/28 9:02 76k 2010/08/01 .\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 .\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 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 95k 2010/06/24 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0 "cygblkid-1.dll" v0.0 ts=2010/6/24 19:20 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 8k 2011/01/28 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2011/1/28 3:51 108k 2010/01/05 C:\cygwin\bin\cygcloog-0.dll - os=4.0 img=1.0 sys=4.0 "cygcloog-0.dll" v0.0 ts=2010/1/5 0:45 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 7:57 1147k 2011/03/16 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2011/3/16 20:54 943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.5.dll" v0.0 ts=2007/12/17 13:12 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 13:12 511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0 "cygedit-0.dll" v0.0 ts=2010/6/17 11:42 118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-1.dll" v0.0 ts=2008/5/9 4:03 22k 2011/03/22 C:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0 "cygffi-4.dll" v0.0 ts=2011/3/22 4:13 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 449k 2011/05/20 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0 "cyggcrypt-11.dll" v0.0 ts=2011/5/20 2:29 19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2009/2/26 7:58 8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 7:58 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 14k 2011/07/31 C:\cygwin\bin\cyggmpxx-4.dll - os=4.0 img=1.0 sys=4.0 "cyggmpxx-4.dll" v0.0 ts=2011/7/31 10:31 14k 2011/05/20 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0 "cyggpg-error-0.dll" v0.0 ts=2011/5/20 2:04 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 146k 2010/05/19 C:\cygwin\bin\cygmcrypt-4.dll - os=4.0 img=1.0 sys=4.0 "cygmcrypt-4.dll" v0.0 ts=2010/5/19 22:28 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 222k 2005/05/28 C:\cygwin\bin\cygmhash-2.dll - os=4.0 img=1.0 sys=4.0 "cygmhash-2.dll" v0.0 ts=2005/5/28 9:40 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 64k 2009/11/09 C:\cygwin\bin\cygmpc-1.dll - os=4.0 img=1.0 sys=4.0 "cygmpc-1.dll" v0.0 ts=2009/11/9 1:21 269k 2009/06/07 C:\cygwin\bin\cygmpfr-1.dll - os=4.0 img=1.0 sys=4.0 "cygmpfr-1.dll" v0.0 ts=2009/6/7 21:10 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 695k 2009/04/18 C:\cygwin\bin\cygppl-7.dll - os=4.0 img=1.0 sys=4.0 "cygppl-7.dll" v0.0 ts=2009/4/18 12:44 2481k 2009/04/18 C:\cygwin\bin\cygppl_c-2.dll - os=4.0 img=1.0 sys=4.0 "cygppl_c-2.dll" v0.0 ts=2009/4/18 12:47 18k 2009/04/18 C:\cygwin\bin\cygpwl-4.dll - os=4.0 img=1.0 sys=4.0 "cygpwl-4.dll" v0.0 ts=2009/4/18 12:44 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 1613k 2010/12/01 C:\cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0 "cygsqlite3-0.dll" v0.0 ts=2010/12/1 12:20 263k 2011/03/16 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.8.dll" v0.0 ts=2011/3/16 20:54 8k 2011/03/22 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0 "cygssp-0.dll" v0.0 ts=2011/3/22 4:12 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 16k 2010/06/24 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0 "cyguuid-1.dll" v0.0 ts=2010/6/24 19:19 28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0 "cygwrap-0.dll" v0.0 ts=2010/3/28 9:02 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 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 95k 2010/06/24 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0 "cygblkid-1.dll" v0.0 ts=2010/6/24 19:20 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 8k 2011/01/28 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0 "cygcharset-1.dll" v0.0 ts=2011/1/28 3:51 108k 2010/01/05 C:\cygwin\bin\cygcloog-0.dll - os=4.0 img=1.0 sys=4.0 "cygcloog-0.dll" v0.0 ts=2010/1/5 0:45 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 7:57 1147k 2011/03/16 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2011/3/16 20:54 943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.5.dll" v0.0 ts=2007/12/17 13:12 1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 13:12 511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0 "cygedit-0.dll" v0.0 ts=2010/6/17 11:42 118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-1.dll" v0.0 ts=2008/5/9 4:03 22k 2011/03/22 C:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0 "cygffi-4.dll" v0.0 ts=2011/3/22 4:13 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 449k 2011/05/20 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0 "cyggcrypt-11.dll" v0.0 ts=2011/5/20 2:29 19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2009/2/26 7:58 8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 7:58 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 14k 2011/07/31 C:\cygwin\bin\cyggmpxx-4.dll - os=4.0 img=1.0 sys=4.0 "cyggmpxx-4.dll" v0.0 ts=2011/7/31 10:31 14k 2011/05/20 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0 "cyggpg-error-0.dll" v0.0 ts=2011/5/20 2:04 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 146k 2010/05/19 C:\cygwin\bin\cygmcrypt-4.dll - os=4.0 img=1.0 sys=4.0 "cygmcrypt-4.dll" v0.0 ts=2010/5/19 22:28 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 222k 2005/05/28 C:\cygwin\bin\cygmhash-2.dll - os=4.0 img=1.0 sys=4.0 "cygmhash-2.dll" v0.0 ts=2005/5/28 9:40 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 64k 2009/11/09 C:\cygwin\bin\cygmpc-1.dll - os=4.0 img=1.0 sys=4.0 "cygmpc-1.dll" v0.0 ts=2009/11/9 1:21 269k 2009/06/07 C:\cygwin\bin\cygmpfr-1.dll - os=4.0 img=1.0 sys=4.0 "cygmpfr-1.dll" v0.0 ts=2009/6/7 21:10 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 695k 2009/04/18 C:\cygwin\bin\cygppl-7.dll - os=4.0 img=1.0 sys=4.0 "cygppl-7.dll" v0.0 ts=2009/4/18 12:44 2481k 2009/04/18 C:\cygwin\bin\cygppl_c-2.dll - os=4.0 img=1.0 sys=4.0 "cygppl_c-2.dll" v0.0 ts=2009/4/18 12:47 18k 2009/04/18 C:\cygwin\bin\cygpwl-4.dll - os=4.0 img=1.0 sys=4.0 "cygpwl-4.dll" v0.0 ts=2009/4/18 12:44 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 1613k 2010/12/01 C:\cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0 sys=4.0 "cygsqlite3-0.dll" v0.0 ts=2010/12/1 12:20 263k 2011/03/16 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.8.dll" v0.0 ts=2011/3/16 20:54 8k 2011/03/22 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0 "cygssp-0.dll" v0.0 ts=2011/3/22 4:12 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 16k 2010/06/24 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0 "cyguuid-1.dll" v0.0 ts=2010/6/24 19:19 28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0 "cygwrap-0.dll" v0.0 ts=2010/3/28 9:02 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 Warning: There are multiple cygwin1.dlls on your path Service : OpenSSHd Display name : OpenSSH Server Current State : Running Controls Accepted : Stop Command : /bin/sshd -D stdin path : /dev/null stdout path : /var/log/OpenSSHd.log stderr path : /var/log/opensshd.log Environment : CYGWIN="binmode ntsec tty" Process Type : Own Process Startup : Automatic Dependencies : Tcpip Account : LocalSystem 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 bcrypt 1.1-1 OK bzip2 1.0.6-2 OK ccrypt 1.7-1 OK coreutils 8.10-1 OK crypt 1.1-1 OK csih 0.9.4-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 libblkid1 2.17.2-1 OK libbz2_1 1.0.6-2 OK libcharset1 1.13.1-2 OK libcloog0 0.15.7-1 OK libdb4.5 4.5.20.2-2 OK libedit0 20090923-1 OK libexpat1 2.0.1-1 OK libffi4 4.3.4-4 OK libgcc1 4.3.4-4 OK libgcrypt-devel 1.4.6-1 OK libgcrypt11 1.4.6-1 OK libgdbm4 1.8.3-20 OK libgmp3 4.3.2-1 OK libgmpxx4 4.3.2-1 OK libgpg-error-devel 1.10-1 OK libgpg-error0 1.10-1 OK libiconv 1.13.1-2 OK libiconv2 1.13.1-2 OK libintl8 0.17-11 OK liblzma5 5.0.2_20110517-1 OK libmcrypt 2.5.8-10 OK libmcrypt-devel 2.5.8-10 OK libmcrypt4 2.5.8-10 OK libmpc1 0.8-1 OK libmpfr1 2.4.1-4 OK libncurses10 5.7-18 OK libncurses8 5.5-10 OK libncursesw10 5.7-18 OK libopenssl098 0.9.8r-2 OK libpcre0 8.02-1 OK libpopt0 1.6.4-4 OK libppl 0.10.2-1 OK libreadline7 6.1.2-2 OK libsigsegv2 2.10-1 OK libsqlite3_0 3.7.3-1 OK libssp0 4.3.4-4 OK libstdc++6 4.3.4-4 OK libuuid1 2.17.2-1 OK libwrap0 7.6-21 OK login 1.10-10 OK man 1.6f-1 OK mcrypt 2.6.8-1 OK mhash 0.9.2-1 OK mingw-binutils 2.21-1 OK mingw-gcc-core 4.5.2-1 OK mingw-libgcrypt 1.4.6-1 OK mingw-libgcrypt-devel 1.4.6-1 OK mingw-libgcrypt11 1.4.6-1 OK mingw-libgpg-error-devel 1.10-1 OK mingw-libgpg-error0 1.10-1 OK mingw-pthreads 20110507-1 OK mingw-runtime 3.18-3 OK mingw-w32api 3.17-2 OK mingw-zlib 1.2.5-6 OK mingw-zlib-devel 1.2.5-6 OK mingw-zlib1 1.2.5-6 OK openssh 5.8p1-1 OK python 2.6.5-2 OK python-crypto 2.0.1-2 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 zlib 1.2.5-1 OK zlib-devel 1.2.5-1 OK zlib0 1.2.5-1 OK Use -h to see help about each section [-- Attachment #3: Type: text/plain, Size: 218 bytes --] -- 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-22 17:12 ` Gary @ 2011-08-22 20:39 ` Larry Hall (Cygwin) 2011-08-23 18:55 ` Gary 0 siblings, 1 reply; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-22 20:39 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-22 20:39 ` Larry Hall (Cygwin) @ 2011-08-23 18:55 ` Gary 2011-08-24 2:35 ` Larry Hall (Cygwin) 0 siblings, 1 reply; 26+ messages in thread From: Gary @ 2011-08-23 18:55 UTC (permalink / raw) To: cygwin [-- Attachment #1: Type: text/plain, Size: 1705 bytes --] 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 [-- Attachment #2: cygcheck.out.txt --] [-- Type: text/plain, Size: 11636 bytes --] 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 [-- Attachment #3: Type: text/plain, Size: 218 bytes --] -- 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-23 18:55 ` Gary @ 2011-08-24 2:35 ` Larry Hall (Cygwin) 0 siblings, 0 replies; 26+ messages in thread From: Larry Hall (Cygwin) @ 2011-08-24 2:35 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: SSHD Issue Windows 2003 64 bit 2011-08-17 2:24 ` Larry Hall (Cygwin) 2011-08-19 21:53 ` Gary @ 2011-08-19 21:59 ` Gary 1 sibling, 0 replies; 26+ messages in thread From: Gary @ 2011-08-19 21:59 UTC (permalink / raw) To: cygwin 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2011-08-24 2:35 UTC | newest] Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-08-09 20:48 SSHD Issue Windows 2003 64 bit Gary 2011-08-10 5:27 ` Csaba Raduly 2011-08-10 22:59 ` Gary 2011-08-10 23:20 ` Gary 2011-08-11 8:16 ` Thorsten Kampe 2011-08-11 16:41 ` Larry Hall (Cygwin) 2011-08-11 17:02 ` Gary 2011-08-11 17:34 ` Thorsten Kampe 2011-08-11 18:25 ` Gary 2011-08-11 18:54 ` Thorsten Kampe 2011-08-11 21:33 ` Gary 2011-08-11 23:20 ` Larry Hall (Cygwin) 2011-08-12 21:55 ` Gary 2011-08-15 21:11 ` Gary 2011-08-15 21:46 ` Larry Hall (Cygwin) 2011-08-15 23:11 ` Gary 2011-08-16 3:57 ` Larry Hall (Cygwin) 2011-08-16 22:25 ` Gary 2011-08-17 2:24 ` Larry Hall (Cygwin) 2011-08-19 21:53 ` Gary 2011-08-22 15:15 ` Larry Hall (Cygwin) 2011-08-22 17:12 ` Gary 2011-08-22 20:39 ` Larry Hall (Cygwin) 2011-08-23 18:55 ` Gary 2011-08-24 2:35 ` Larry Hall (Cygwin) 2011-08-19 21:59 ` Gary
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).