wok diff openssh/stuff/openssh @ rev 21859
updated sarg and sarg-php (2.3.1 -> 2.3.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Sep 19 16:26:43 2019 +0100 (2019-09-19) |
parents | 6a8b83dd1456 |
children | 9096d6788292 |
line diff
1.1 --- a/openssh/stuff/openssh Sun Sep 17 11:42:45 2017 +0200 1.2 +++ b/openssh/stuff/openssh Thu Sep 19 16:26:43 2019 +0100 1.3 @@ -20,7 +20,7 @@ 1.4 start) 1.5 # We need rsa and dsa host key file to start dropbear. 1.6 for type in rsa dsa ecdsa ; do 1.7 - [ -f /etc/ssh/ssh_host_${type}_key ] && continue 1.8 + [ -s /etc/ssh/ssh_host_${type}_key ] && continue 1.9 _ 'Generating OpenSSH %s key... ' $type 1.10 ssh-keygen -t $type -f /etc/ssh/ssh_host_${type}_key -C '' -N '' 1.11 done