NameDateSize

..20-Dec-201618

MakefileH A D08-Mar-20153.1 KiB

READMEH A D08-Mar-20153 KiB

ssh-host-configH A D08-Mar-201522.7 KiB

ssh-user-configH A D08-Mar-20158.3 KiB

sshd-inetdH A D08-Mar-2015192

README

1This package describes important Cygwin specific stuff concerning OpenSSH.
2
3The binary package is usually built for recent Cygwin versions and might
4not run on older versions.  Please check http://cygwin.com/ for information
5about current Cygwin releases.
6
7==================
8Host configuration
9==================
10
11If you are installing OpenSSH the first time, you can generate global config
12files and server keys, as well as installing sshd as a service, by running
13
14   /usr/bin/ssh-host-config
15
16Note that this binary archive doesn't contain default config files in /etc.
17That files are only created if ssh-host-config is started.
18
19To support testing and unattended installation ssh-host-config got
20some options:
21
22usage: ssh-host-config [OPTION]...
23Options:
24    --debug  -d            Enable shell's debug output.
25    --yes    -y            Answer all questions with "yes" automatically.
26    --no     -n            Answer all questions with "no" automatically.
27    --cygwin -c <options>  Use "options" as value for CYGWIN environment var.
28    --port   -p <n>        sshd listens on port n.
29    --user   -u <account>  privileged user for service, default 'cyg_server'.
30    --pwd    -w <passwd>   Use "pwd" as password for privileged user.
31    --privileged           On Windows XP, require privileged user
32                           instead of LocalSystem for sshd service.
33
34Installing sshd as daemon via ssh-host-config is recommended.
35
36Alternatively you can start sshd via inetd, if you have the inetutils
37package installed.  Just run ssh-host-config, but answer "no" when asked
38to install sshd as service.  The ssh-host-config script also adds the
39required lines to /etc/inetd.conf and /etc/services.
40
41==================
42User configuration
43==================
44
45Any user can simplify creating the own private and public keys by running
46
47  /usr/bin/ssh-user-config
48
49To support testing and unattended installation ssh-user-config got
50some options as well:
51
52usage: ssh-user-config [OPTION]...
53Options:
54    --debug      -d        Enable shell's debug output.
55    --yes        -y        Answer all questions with "yes" automatically.
56    --no         -n        Answer all questions with "no" automatically.
57    --passphrase -p word   Use "word" as passphrase automatically.
58
59Please note that OpenSSH does never use the value of $HOME to
60search for the users configuration files! It always uses the
61value of the pw_dir field in /etc/passwd as the home directory.
62If no home diretory is set in /etc/passwd, the root directory
63is used instead!
64
65================
66Building OpenSSH
67================
68
69Building from source is easy.  Just unpack the source archive, cd to that
70directory, and call cygport:
71
72	cygport openssh.cygport almostall
73
74You must have installed the following packages to be able to build OpenSSH
75with the aforementioned cygport script:
76
77  zlib
78  crypt
79  openssl-devel
80  libwrap-devel
81  libedit-devel
82  libkrb5-devel
83
84Please send requests, error reports etc. to cygwin@cygwin.com.
85
86
87Have fun,
88
89Corinna Vinschen
90Cygwin Developer
91Red Hat Inc.
92