[PATCH] Fix duplicated text in contrib/cygwin/ssh-user-config

Corinna Vinschen vinschen at redhat.com
Tue Oct 25 18:46:19 EST 2005


Hi,

The contrib/cygwin/ssh-user-config script accidentally prints

  Shall I create an SSH2 RSA identity file for you? (yes/no) (yes/no) _

where one "(yes/no)" would have been sufficient.  The below patch
fixes that.  Please apply.


Thanks,
Corinna


Index: contrib/cygwin/ssh-user-config
===================================================================
RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-user-config,v
retrieving revision 1.3
diff -p -u -r1.3 ssh-user-config
--- contrib/cygwin/ssh-user-config      13 Nov 2003 00:28:49 -0000      1.3
+++ contrib/cygwin/ssh-user-config      25 Oct 2005 07:45:38 -0000
@@ -198,7 +198,7 @@ fi
 
 if [ ! -f "${pwdhome}/.ssh/id_rsa" ]
 then
-  if request "Shall I create an SSH2 RSA identity file for you? (yes/no) "
+  if request "Shall I create an SSH2 RSA identity file for you?"
   then
     echo "Generating ${pwdhome}/.ssh/id_rsa"
     if [ "${with_passphrase}" = "yes" ]
@@ -217,7 +217,7 @@ fi
 
 if [ ! -f "${pwdhome}/.ssh/id_dsa" ]
 then
-  if request "Shall I create an SSH2 DSA identity file for you? (yes/no) "
+  if request "Shall I create an SSH2 DSA identity file for you?"
   then
     echo "Generating ${pwdhome}/.ssh/id_dsa"
     if [ "${with_passphrase}" = "yes" ]


-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.




More information about the openssh-unix-dev mailing list