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

Corinna Vinschen cygwin@cygwin.com
Tue Jan 9 05:59:00 GMT 2001


Hi,

I have made a change to ssh-user-config which should refuse
creating the user files when the /etc/passwd entry of the
user isn't ok.

Please, test it. I have attached both scripts again as
described in my original mail.

On Fri, Dec 22, 2000 at 10:49:15PM +0100, Corinna Vinschen wrote:
> 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.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


More information about the Cygwin mailing list