Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Ross Smith II" <ross@smithii.com>
To: <cygwin@cygwin.com>
Subject: Updated sshd install scripts
Date: Sun, 10 Nov 2002 10:04:13 -0800
Message-ID: <NDBBJINIMKJKPGEBBJLKKEMOFCAA.ross@smithii.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - erie.vervehosting.com
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0]
X-AntiAbuse: Sender Address Domain - smithii.com

I've updated my sshd install scripts to support named options:

$ sshd_system.sh -?
Usage: sshd_system.sh [options]

options:

  -P|--port     port
  -s|--sshd     "sshd options"                (quotes are required)
  -f|--config   sshd_config_file              (default is /etc/sshd_config)
  -c|--cygwin   "CYGWIN environment variable" (default is "binmode ntsec
tty")
  -?|--help     this help screen
  -v|--version

$ sshd_user.sh -?
Usage: sshd_user.sh [options]

options:

  -u|--user     username (default is the current user (ross))
  -p|--password password (do not use this option to be prompted for a
password)
  -P|--port     port
  -s|--sshd     "sshd options"                (quotes are required)
  -f|--config   sshd_config_file              (default is /etc/sshd_config)
  -c|--cygwin   "CYGWIN environment variable" (default is "binmode ntsec
tty")
  -S|--privsep  (ignore "UsePrivilegeSeparation Yes" in /etc/sshd_config)
  -?|--help     (this help screen)
  -v|--version

The scripts set the correct permissions on all files, and explain how to
deal with

UsePrivilegeSeparation Yes

I've posted the scripts and a short readme at

http://www.netebb.com/cygwin/

And you can download them from

http://www.netebb.com/cygwin/sshd_install_scripts.tgz

I hope you find them useful.

-Ross


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

