X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_40 X-Spam-Check-By: sourceware.org From: "David Christensen" To: Cc: "'Paul August'" Subject: FW: OpenSSH server installation error on Windows Vista Business/Ultimate Date: Thu, 11 Jun 2009 16:38:21 -0700 Message-ID: <6097A169B4524006A71970B2007B0F31@dc86yxb1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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/