This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Updated sshd install scripts


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]