- (dtucker) [contrib/cygwin/ssh-user-config] Put keys in authorized_keys

rather that authorized_keys2.  Patch from vinschen@redhat.com.
This commit is contained in:
Darren Tucker 2003-08-22 18:43:48 +10:00
parent 59d3d5b8b4
commit 49d32566c2
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,8 @@
20030822 20030822
- (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal - (djm) s/get_progname/ssh_get_progname/g to avoid conflict with Heimdal
-lbroken; ok dtucker -lbroken; ok dtucker
- (dtucker) [contrib/cygwin/ssh-user-config] Put keys in authorized_keys
rather that authorized_keys2. Patch from vinschen@redhat.com.
20030821 20030821
- (dtucker) OpenBSD CVS Sync - (dtucker) OpenBSD CVS Sync
@ -849,4 +851,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.2897 2003/08/21 23:34:41 djm Exp $ $Id: ChangeLog,v 1.2898 2003/08/22 08:43:48 dtucker Exp $

View File

@ -171,8 +171,8 @@ then
fi fi
if request "Do you want to use this identity to login to this machine?" if request "Do you want to use this identity to login to this machine?"
then then
echo "Adding to ${pwdhome}/.ssh/authorized_keys2" echo "Adding to ${pwdhome}/.ssh/authorized_keys"
cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys2" cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys"
fi fi
fi fi
fi fi
@ -190,8 +190,8 @@ then
fi fi
if request "Do you want to use this identity to login to this machine?" if request "Do you want to use this identity to login to this machine?"
then then
echo "Adding to ${pwdhome}/.ssh/authorized_keys2" echo "Adding to ${pwdhome}/.ssh/authorized_keys"
cat "${pwdhome}/.ssh/id_dsa.pub" >> "${pwdhome}/.ssh/authorized_keys2" cat "${pwdhome}/.ssh/id_dsa.pub" >> "${pwdhome}/.ssh/authorized_keys"
fi fi
fi fi
fi fi