delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/27/00:22:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: "David Christensen" <dpchrist AT holgerdanske DOT com>
To: <cygwin AT cygwin DOT com>
References: <686031 DOT 52369 DOT qm AT web58402 DOT mail DOT re3 DOT yahoo DOT com>
Subject: RE: OpenSSH server installation error on Windows Vista Business/Ultimate
Date: Tue, 26 May 2009 21:21:47 -0700
Message-ID: <9BB03B3EF1A44C0C86CC1ABE1118B523@dc86yxb1>
MIME-Version: 1.0
In-Reply-To: <686031.52369.qm@web58402.mail.re3.yahoo.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

Paul August wrote:

> Thank you David for your response. 

You're welcome.  :-)


> I followed your steps to enable the administrator account via MMC
> console window, Then I start cygwin bash shell either as an
> administrator or after I logon the administrator account. When I run
> ssh-host-config -y again, I got the same error message. It seems
> that enabling real administrator account does not help with this
> problem. Any more clues?

I infer from your post that you installed Cygwin using an account other
than Administrator.  I wouldn't trust it.


I suggest:

1.  Log on as Administrator.

2.  Move your existing Cygwin directory aside.

3.  Create the directories C:\cygwin and C:\cygwin\setup.

4.  Download Cygwin Setup to C:\cygwin\setup\setup.exe.

5.  Create a shortcut to Cygwin Setup on the Desktop.

6.  Run Cygwin Setup via the shortcut.  Choose Unix line endings.
Accept the default package selections (e.g. base) and also get the
source for each.   (There may be a few packages where source is not
available/ applicable?)  (Having the source code provides you with all
the rights and responsibilities of the GPL.)  Download and install.
Have Cygwin Setup create Start menu and Desktop icons.

7.  Change the properties on the Cygwin Bash Shell Desktop shortcut --
select Options -> Quick edit (so you can copy to/ paste from the Windows
clipboard) and set Layout -> Screen buffer size -> Height to 9999.  Move
the shortcut to a shared location so you can use it from all accounts.

8.  Run Cygwin Bash Shell via the shortcut.  Exit.  This step might be
unnecessary, but it's a habit for me.

9.  Run Cygwin Setup again, select OpenSSH (and dependencies and
sources), and download and install.

10. Run Cygwin Bash Shell again and work on OpenSSH.  Copy your console
session and paste it into a reply to this message if you're still stuck.


Once you have a set of Cygwin packages you're happy with, make an
archival copy of your C:\cygwin\setup directory.  This will provide you
with the ability to install/ reinstall the exact same software on that
and other machines.


HTH,

David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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