Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: philip james <philip AT rephil DOT com> Subject: Re: error installing sshd on win2k3 Date: Thu, 8 Jul 2004 20:58:44 +0000 (UTC) Lines: 73 Message-ID: <loom.20040708T225830-805@post.gmane.org> References: <20040708114550-167 AT ibm-server> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 130.13.128.6 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)) Philip James <philip <at> rephil.com> writes: > > I am wondering if i can get some help. I am installing sshd on win2k3. > > this is the error i am getting. > > Please enter a password for new user 'sshd_server'. Please be sure that > this password matches the password rules given on your system. > Entering no password will exit the configuration. PASSWORD=1lovev1ctor1a > Creating the user 'sshd_server' failed! Reason: > /usr/bin/ssh-host-config: line 482: net: command not found > > Please enter a password for new user 'sshd_server'. Please be sure that > this password matches the password rules given on your system. > Entering no password will exit the configuration. PASSWORD= > > Exiting configuration. No user sshd_server has been created, > no sshd service installed. > > please help! > This is the complete command I am running. Administrator AT ibm-server ~ $ ssh-config-host -y bash: ssh-config-host: command not found Administrator AT ibm-server ~ $ ssh-host-config -y Overwrite existing /etc/ssh_config file? (yes/no) yes Generating /etc/ssh_config file Overwrite existing /etc/sshd_config file? (yes/no) yes Privilege separation is set to yes by default since OpenSSH 3.3. However, this requires a non-privileged account called 'sshd'. For more info on privilege separation read /usr/share/doc/openssh/README.privsep . Should privilege separation be used? (yes/no) yes Generating /etc/sshd_config file Warning: The following functions require administrator privileges! Do you want to install sshd as service? (Say "no" if it's already installed as service) (yes/no) yes You appear to be running Windows 2003 Server or later. On 2003 and later systems, it's not possible to use the LocalSystem account if sshd should allow passwordless logon (e. g. public key authentication). If you want to enable that functionality, it's required to create a new account 'sshd_server' with special privileges, which is then used to run the sshd service under. Should this script create a new local account 'sshd_server' which has the required privileges? (yes/no) yes Please enter a password for new user 'sshd_server'. Please be sure that this password matches the password rules given on your system. Entering no password will exit the configuration. PASSWORD=1lovev1ctor1a Creating the user 'sshd_server' failed! Reason: /usr/bin/ssh-host-config: line 482: net: command not found Please enter a password for new user 'sshd_server'. Please be sure that this password matches the password rules given on your system. Entering no password will exit the configuration. PASSWORD= Exiting configuration. No user sshd_server has been created, no sshd service installed. -- 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/