X-Spam-Check-By: sourceware.org DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=piIUQqaMbnpQs4LZRWuRTvb3oAmzD6LAM8gX6pBWw31j5+LAyd9uj7pJdLIjB+1wfUIc5piE9KFxrbdOo0BsaauOP6vl7MSM49j+5o1Lv1eW2Uv9VZEu5sdCqwpHjGuVcY40f3LlInHkVbQcdbMQIkRJoqvEXZnEK/tPQfY59/A= Message-ID: <797650580702241703x7c9b0af6hc3a2e0dacab11be1@mail.gmail.com> Date: Sat, 24 Feb 2007 20:03:00 -0500 From: "Web Developer" To: cygwin AT cygwin DOT com, gregg DOT drwho8 AT gmail DOT com Subject: Re: Setting up a ssh service In-Reply-To: <20070224194529.GA4757@trixie.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18d205ed0702241143s2a27a847mbfedd57b8eaf7f0c AT mail DOT gmail DOT com> <20070224194529 DOT GA4757 AT trixie DOT casa DOT cgf DOT cx> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 I had made these instructions copied off somewhere a while back for setting up sshd service on windows... add a new entry to system variables: New variable name is CYGWIN, variable value is ntsec Also add to the Path system variable and click the "Edit" edit button and append to it: ;c:\cygwin\bin open cygwin... (make sure openssh is installed, if not get it by running cygwin's setup.exe) Run: > ssh-host-config (on slower computers, it may take several minutes to generate the dsa keys) When the script asks you about "privilege separation", answer yes When the script asks you about "install sshd as a service", answer yes When the script asks you for "CYGWIN=" your answer is ntsec start the sshd service > net start sshd (or > cygrunsrv -S sshd) harmonize Windows user information with cygwin, otherwise users cannot log into shh. mkpasswd creates a password file from Windows' user list...include Windows security information, but the actual passwords are determined by Windows, not by the content of /etc/passwd. mkgroup creates a group file from Windows' user list > mkpasswd --local > /etc/passwd > mkgroup --local > /etc/group enjoy, Arian -- 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/