delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/19/17:53:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Reply-To: gphelps AT ucmerced DOT edu
In-Reply-To: <4E4B264A.2090409@cygwin.com>
References: <CAC8hJujitHJhJB1_uUpC1G9j0odvWefnXxLtZ6FZWkb15d5niQ AT mail DOT gmail DOT com> <CAC8hJugWHko9GU5bg4Dfu_cfNN1E+JLBOZxCtobNaRutny3Nxw AT mail DOT gmail DOT com> <4E49EA9A DOT 3030500 AT cygwin DOT com> <CAC8hJuiZ_xHHaWn+qoW92WNOzk4+isE=mfvWQa5WdW6ki68bEA AT mail DOT gmail DOT com> <4E4B264A DOT 2090409 AT cygwin DOT com>
Date: Fri, 19 Aug 2011 14:53:27 -0700
Message-ID: <CAC8hJugMM3zB8HNBY5i61cW-x-1=byT33+Lg6a9Gv7rP_JYKVQ@mail.gmail.com>
Subject: Re: SSHD Issue Windows 2003 64 bit
From: Gary <gary DOT mphelps AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p7JLrrqV008546

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019