Fix ssh key names
authorNicolas Thill <nico@openwrt.org>
Thu, 16 Jun 2005 15:58:55 +0000 (15:58 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 16 Jun 2005 15:58:55 +0000 (15:58 +0000)
SVN-Revision: 1260

openwrt/package/openssh/files/S50sshd

index bb23691954958944974d09d2264a8de5e1aaee68..ed615b4ea619189f22dfb96db1301557efb680a1 100755 (executable)
@@ -2,7 +2,7 @@
 
 for type in rsa dsa; do {
   # check for keys
-  key=/etc/ssh/ssh_${type}_host_key
+  key=/etc/ssh/ssh_host_${type}_key
   [ ! -f $key ] && {
     # generate missing keys
     [ -x /usr/bin/ssh-keygen ] && {