From a5820295c343b19d80a01eca537463a8c890e995 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 18 Jul 2001 16:25:41 +0000 Subject: *** empty log message *** --- contrib/cygwin/README | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) (limited to 'contrib/cygwin/README') diff --git a/contrib/cygwin/README b/contrib/cygwin/README index f9d03944f..dfe178679 100644 --- a/contrib/cygwin/README +++ b/contrib/cygwin/README @@ -1,4 +1,13 @@ -This package is the actual port of OpenSSH to Cygwin 1.1. +This package is the actual port of OpenSSH to Cygwin 1.3. + +=========================================================================== +Important change since 2.9p2: + +Since Cygwin is able to switch user context without password beginning +with version 1.3.2, OpenSSH now allows to do so when it's running under +a version >= 1.3.2. Keep in mind that `ntsec' has to be activated to +allow that feature. +=========================================================================== =========================================================================== Important change since 2.3.0p1: @@ -37,6 +46,9 @@ Options: --no -n Answer all questions with "no" automatically. --port -p sshd listens on port n. +Additionally ssh-host-config now asks if it should install sshd as a +service when running under NT/W2K. This requires cygrunsrv installed. + You can create the private and public keys for a user now by running /usr/bin/ssh-user-config @@ -53,16 +65,12 @@ Options: --no -n Answer all questions with "no" automatically. --passphrase -p word Use "word" as passphrase automatically. -Install sshd as daemon via SRVANY.EXE (recommended on NT/W2K), via inetd +Install sshd as daemon via cygrunsrv.exe (recommended on NT/W2K), via inetd (results in very slow deamon startup!) or from the command line (recommended on 9X/ME). -If you start sshd as deamon via SRVANY.EXE you will see two -sshd processes in the process list unless you give the "-D" -option to sshd. That will avoid that sshd detaches from the -controlling terminal and it will remain under process control -of SRVANY.EXE. That allows easy killing of the service by -using the `net stop ' command. +If you start sshd as deamon via cygrunsrv.exe you MUST give the +"-D" option to sshd. Otherwise the service can't get started at all. If starting via inetd, copy sshd to eg. /usr/sbin/in.sshd and add the following line to your inetd.conf file: @@ -74,6 +82,10 @@ ${SYSTEMROOT}/system32/drivers/etc/services file: sshd 22/tcp #SSH daemon +=========================================================================== +The following restrictions only apply to Cygwin versions up to 1.3.1 +=========================================================================== + Authentication to sshd is possible in one of two ways. You'll have to decide before starting sshd! @@ -145,26 +157,22 @@ way as they are used by the `login' port on sources.redhat.com: SSH2 server and user keys are generated by the `ssh-*-config' scripts as well. -SSH2 authentication similar to SSH1: - Add keys to ~/.ssh/authorized_keys2 -Interop. w/ ssh.com dsa-keys: - ssh-keygen -f /key/from/ssh.com -X >> ~/.ssh/authorized_keys2 -and vice versa: - ssh-keygen -f /privatekey/from/openssh -x > ~/.ssh2/mykey.pub - echo Key mykey.pub >> ~/.ssh2/authorization - If you want to build from source, the following options to configure are used for the Cygwin binary distribution: ---prefix=/usr --sysconfdir=/etc --libexecdir='${exec_prefix}/sbin + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir='${exec_prefix}/sbin \ + --with-pcre You must have installed the zlib, openssl and regex packages to -be able to build OpenSSH! +be able to build OpenSSH! The `--with-pcre' option requires +the installation of the pcre package. -Please send requests, error reports etc. to cygwin@sources.redhat.com. +Please send requests, error reports etc. to cygwin@cygwin.com. Have fun, -Corinna Vinschen +Corinna Vinschen Cygwin Developer Red Hat Inc. -- cgit v1.2.3