delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/08/17:38:52

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 8 Jul 2004 17:38:41 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: philip james <philip AT rephil DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: error installing sshd on win2k3
In-Reply-To: <loom.20040708T225830-805@post.gmane.org>
Message-ID: <Pine.GSO.4.58.0407081737340.2377@slinky.cs.nyu.edu>
References: <20040708114550-167 AT ibm-server> <loom DOT 20040708T225830-805 AT post DOT gmane DOT org>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 8 Jul 2004, philip james wrote:

> 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.

Please read and follow

> Problem reports:       http://cygwin.com/problems.html

in particular, the bit about attaching the output of "cygcheck -svr" for
your system.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019