X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <836845.8504.qm@web58407.mail.re3.yahoo.com> Date: Fri, 12 Jun 2009 20:27:30 -0700 (PDT) From: Paul August Subject: Re: FW: OpenSSH server installation error on Windows Vista Business/Ultimate To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com This message was sent with wrong subject line. So I try again. Paul I believe this is for the trouble I previously reported. David, thanks for the further information. I will try to follow your steps exactly (except for a fresh installation of Windows part) and see what happens. Paul. > -----Inline Message Follows----- > > What's your trouble? > > 2009/6/12 David Christensen : > > 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. Download Cygwin Setup to C:\cygwin\setup\setup.exe. > > > > 2. Run Cygwin Setup: > > > > a. Install from Internet (default). > > > > b. C:\cygwin root directory (default). > > > > c. Install for all users (default). > > > > d. Unix/ binary default text file type (default). > > > > e. C:\cygwin\setup local package directory (default). > > > > f. Direct connection to Internet (default). > > > > g. ftp://mirrors.kernel.org download site. > > > > h. Select source packages to match base/ default packages. > > > > i. Create Desktop and Start menu shortcuts. > > > > 3. Start Cygwin Bash Shell, then exit it. > > > > 4. Run Cygwin Setup again: > > > > a-g. Same as above. > > > > h. Select 'openssh' package. Setup will select dependencies. > > Select source packages for all of these. > > > > i. No need to recreate shortcuts. > > > > 5. Start 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. In the end, I need to make four system changes to > > get sshd working: > > > > a. 'chmod 0777 /etc/passwd' -- overkill, so that ssh-host-config > > could create the cyg_server account. (I changed permissions to 0644 > > afterwards.) > > > > b. 'chmod 0777 /etc/group' -- more overkill for ssh-host-config. > > (I changed permissions to 0644 afterwards.) > > > > c. 'chmod 0777 /var' -- more overkill for ssh-host-config. (I left > > it that way.) > > > > d. 'chown cyg_server /var/empty' -- necessary to start the sshd > > service. > > > > > > 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/