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

This is a discussion on [PATCH] Fix duplicated text in contrib/cygwin/ssh-user-config within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, The contrib/cygwin/ssh-user-config script accidentally prints Shall I create an SSH2 RSA identity file for you? (...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-25-2005
Corinna Vinschen
 
Posts: n/a
Default [PATCH] Fix duplicated text in contrib/cygwin/ssh-user-config

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.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0