delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <6097A169B4524006A71970B2007B0F31@dc86yxb1> |
References: | <6097A169B4524006A71970B2007B0F31 AT dc86yxb1> |
Date: | Fri, 12 Jun 2009 09:00:10 +0800 |
Message-ID: | <f4d6f44b0906111800m73f7f49bma2f28118d889bd0f@mail.gmail.com> |
Subject: | Re: FW: OpenSSH server installation error on Windows Vista Business/Ultimate |
From: | Huang Bambo <bambo DOT huang 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 |
What's your trouble? 2009/6/12 David Christensen <dpchrist AT holgerdanske DOT com>: > cygwin: > > I installed a fresh copy of Cygwin and a fresh copy of the Cygwin > OpenSSH service on a fresh installation of Windows Vista Ultimate SP1 > 32-bit yesterday: > > 1. =A0Download Cygwin Setup to C:\cygwin\setup\setup.exe. > > 2. =A0Run Cygwin Setup: > > =A0 =A0a. =A0Install from Internet (default). > > =A0 =A0b. =A0C:\cygwin root directory (default). > > =A0 =A0c. =A0Install for all users (default). > > =A0 =A0d. =A0Unix/ binary default text file type (default). > > =A0 =A0e. =A0C:\cygwin\setup local package directory (default). > > =A0 =A0f. =A0Direct connection to Internet (default). > > =A0 =A0g. =A0ftp://mirrors.kernel.org download site. > > =A0 =A0h. =A0Select source packages to match base/ default packages. > > =A0 =A0i. =A0Create Desktop and Start menu shortcuts. > > 3. =A0Start Cygwin Bash Shell, then exit it. > > 4. =A0Run Cygwin Setup again: > > =A0 =A0a-g. =A0Same as above. > > =A0 =A0h. =A0Select 'openssh' package. =A0Setup will select dependencies. > Select source packages for all of these. > > =A0 =A0i. =A0No need to recreate shortcuts. > > 5. =A0Start Cygwin Bash Shell and wrestle with ssh-host-config, 'net start > sshd', and /var/log/sshd.log, rebooting several times along the way for > the sake of paranoia. =A0In the end, I need to make four system changes to > get sshd working: > > =A0 =A0a. =A0'chmod 0777 /etc/passwd' -- overkill, so that ssh-host-config > could create the cyg_server account. =A0(I changed permissions to 0644 > afterwards.) > > =A0 =A0b. =A0'chmod 0777 /etc/group' -- more overkill for ssh-host-config. > (I changed permissions to 0644 afterwards.) > > =A0 =A0c. =A0'chmod 0777 /var' -- more overkill for ssh-host-config. =A0(= I left > it that way.) > > =A0 =A0d. =A0'chown cyg_server /var/empty' -- necessary to start the sshd > service. > > > HTH, > > David > > > -- > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |