wok diff openssh/stuff/openssh @ rev 21854
updated rubygems (1.8.10 -> 3.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 17 15:19:26 2019 +0100 (2019-09-17) |
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 Tue Sep 17 15:19:26 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