Re: SSHD Issue Windows 2003 64 bit

2011-08-23 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-23 Thread Larry Hall (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

Re: SSHD Issue Windows 2003 64 bit

2011-08-22 Thread Larry Hall (Cygwin)
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-22 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-22 Thread Larry Hall (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

Re: SSHD Issue Windows 2003 64 bit

2011-08-19 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-19 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-16 Thread Gary
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:

Re: SSHD Issue Windows 2003 64 bit

2011-08-16 Thread Larry Hall (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

Re: SSHD Issue Windows 2003 64 bit

2011-08-15 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-15 Thread Larry Hall (Cygwin)
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-15 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-15 Thread Larry Hall (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?

Re: SSHD Issue Windows 2003 64 bit

2011-08-12 Thread Gary
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:

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Thorsten Kampe
* 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

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Larry Hall (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

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Gary
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:

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Thorsten Kampe
* 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

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Thorsten Kampe
* 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

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-11 Thread Larry Hall (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

Re: SSHD Issue Windows 2003 64 bit

2011-08-10 Thread Gary
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,

Re: SSHD Issue Windows 2003 64 bit

2011-08-10 Thread Gary
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

Re: SSHD Issue Windows 2003 64 bit

2011-08-09 Thread Csaba Raduly
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