diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-08-22 18:43:48 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-08-22 18:43:48 +1000 |
commit | 49d32566c26005364958a87b16857ec5073739bf (patch) | |
tree | ddcdf27013509c2606bfa84268740dd420b4337e /contrib/cygwin/ssh-user-config | |
parent | 59d3d5b8b4813bdd1d4518d6839bd392ff6d21f7 (diff) |
- (dtucker) [contrib/cygwin/ssh-user-config] Put keys in authorized_keys
rather that authorized_keys2. Patch from vinschen@redhat.com.
Diffstat (limited to 'contrib/cygwin/ssh-user-config')
-rw-r--r-- | contrib/cygwin/ssh-user-config | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/cygwin/ssh-user-config b/contrib/cygwin/ssh-user-config index 5a76adbaf..4da113181 100644 --- a/contrib/cygwin/ssh-user-config +++ b/contrib/cygwin/ssh-user-config | |||
@@ -171,8 +171,8 @@ then | |||
171 | fi | 171 | fi |
172 | if request "Do you want to use this identity to login to this machine?" | 172 | if request "Do you want to use this identity to login to this machine?" |
173 | then | 173 | then |
174 | echo "Adding to ${pwdhome}/.ssh/authorized_keys2" | 174 | echo "Adding to ${pwdhome}/.ssh/authorized_keys" |
175 | cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys2" | 175 | cat "${pwdhome}/.ssh/id_rsa.pub" >> "${pwdhome}/.ssh/authorized_keys" |
176 | fi | 176 | fi |
177 | fi | 177 | fi |
178 | fi | 178 | fi |
@@ -190,8 +190,8 @@ then | |||
190 | fi | 190 | fi |
191 | if request "Do you want to use this identity to login to this machine?" | 191 | if request "Do you want to use this identity to login to this machine?" |
192 | then | 192 | then |
193 | echo "Adding to ${pwdhome}/.ssh/authorized_keys2" | 193 | echo "Adding to ${pwdhome}/.ssh/authorized_keys" |
194 | cat "${pwdhome}/.ssh/id_dsa.pub" >> "${pwdhome}/.ssh/authorized_keys2" | 194 | cat "${pwdhome}/.ssh/id_dsa.pub" >> "${pwdhome}/.ssh/authorized_keys" |
195 | fi | 195 | fi |
196 | fi | 196 | fi |
197 | fi | 197 | fi |