This is the mail archive of the cygwin@sources.redhat.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]

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


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.

ssh-user-config

ssh-host-config

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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