Request for TESTING: New ssh-host-config and ssh-user-config scripts

Corinna Vinschen cygwin@cygwin.com
Fri Dec 22 13:49:00 GMT 2000


Hi folks,

I have attached two new scripts which shall replace the former
`ssh-config' script in the next Cygwin OpenSSH version.

The first script is called `ssh-host-config' and creates only the
host configuration in /etc. I added two functionalities:

- It creates a line

	sshd     22/tcp         # SSH daemon

  in the systems `services' file if it's not already present and

- it adds a line

	# sshd  stream  tcp     nowait  root    /usr/sbin/sshd -i

  to /etc/inetd.conf if the file exists and a `sshd' line isn't
  already present. Note that this line is added as a comment!

To support testing and unattended installation ssh-host-config got
some options:

usage: ssh-host-config [OPTION]...
Options:
    --debug      -d        Enable shell's debug output.
    --yes        -y        Answer all questions with "yes" automatically.
    --no         -n        Answer all questions with "no" automatically.


The second script is `ssh-user-config'. It can be called for each new
user which needs a ssh configuration on the system. The additional
functionality here is that the script asks if the newly created identities
should be added to the authorized_keys files to allow login to this system.

To support testing and unattended installation ssh-user-config got
some options as well:

usage: ssh-user-config [OPTION]...
Options:
    --debug      -d        Enable shell's debug output.
    --yes        -y        Answer all questions with "yes" automatically.
    --no         -n        Answer all questions with "no" automatically.
    --passphrase -p word   Use "word" as passphrase automatically.

Please, give those scripts a try. They will only work with the test
version of OpenSSH which I announced yesterday because it uses the
new ssh-keygen options and it tries to create SSH2 RSA keys.

Please report errors or problems in this mailing list and feel free
to submit patches or new ideas for extending the functionality of
both scripts.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssh-host-config
Type: text/x-shellscript
Size: 9370 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20001222/fca3f9fd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssh-user-config
Type: text/x-shellscript
Size: 4048 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20001222/fca3f9fd/attachment-0001.bin>


More information about the Cygwin mailing list