delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/10/13:04:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Ross Smith II" <ross AT smithii DOT com>
To: <cygwin AT cygwin DOT 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
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/

- Raw text -


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