[PATCH] Small tweak to contrib/cygwin/ssh-user-config
Corinna Vinschen
vinschen at redhat.com
Fri Aug 22 18:13:53 EST 2003
Hi,
could somebody with checkin rights please apply the following patch
to contrib/cygwin/ssh-user-config? It just appends the RSA2 and DSA
keys to .ssh/authorized_keys instead of .ssh/authorized_keys2.
TIA,
Corinna
Index: contrib/cygwin/ssh-user-config
===================================================================
RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-user-config,v
retrieving revision 1.1
diff -p -u -r1.1 ssh-user-config
--- contrib/cygwin/ssh-user-config 19 Jan 2001 05:37:32 -0000 1.1
+++ contrib/cygwin/ssh-user-config 22 Aug 2003 08:10:46 -0000
@@ -171,8 +171,8 @@ then
fi
if request "Do you want to use this identity to login to this machine?"
then
- echo "Adding to ${pwdhome}/.ssh/authorized_keys2"
- cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys2"
+ echo "Adding to ${pwdhome}/.ssh/authorized_keys"
+ cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys"
fi
fi
fi
@@ -190,8 +190,8 @@ then
fi
if request "Do you want to use this identity to login to this machine?"
then
- echo "Adding to ${pwdhome}/.ssh/authorized_keys2"
- cat "${pwdhome}/.ssh/id_dsa.pub" >> "${pwdhome}/.ssh/authorized_keys2"
+ echo "Adding to ${pwdhome}/.ssh/authorized_keys"
+ cat "${pwdhome}/.ssh/id_dsa.pub" >> "${pwdhome}/.ssh/authorized_keys"
fi
fi
fi
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
More information about the openssh-unix-dev
mailing list