Corrected ticket #100

SVN-Revision: 2804
This commit is contained in:
Florian Fainelli
2006-01-02 13:00:09 +00:00
parent 41bf67c121
commit e5ff967531
2 changed files with 34 additions and 2 deletions

View File

@@ -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 ] && {
@@ -11,5 +11,5 @@ for type in rsa dsa; do {
exit 0
}
}; done
mkdir -p /var/emtpy
/usr/sbin/sshd