delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/22/11:15:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.3 required=5.0 tests=AWL,BAYES_40,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4E52727D.8090001@cygwin.com>
Date: Mon, 22 Aug 2011 11:15:09 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Cc: gphelps AT ucmerced DOT edu
Subject: Re: SSHD Issue Windows 2003 64 bit
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> <CAC8hJugMM3zB8HNBY5i61cW-x-1=byT33+Lg6a9Gv7rP_JYKVQ AT mail DOT gmail DOT com>
In-reply-to: <CAC8hJugMM3zB8HNBY5i61cW-x-1=byT33+Lg6a9Gv7rP_JYKVQ@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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