summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh-5.8p2/init
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh-5.8p2/init')
-rw-r--r--meta/recipes-connectivity/openssh/openssh-5.8p2/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh-5.8p2/init b/meta/recipes-connectivity/openssh/openssh-5.8p2/init
index b16cbd61a6..055dd22e1b 100644
--- a/meta/recipes-connectivity/openssh/openssh-5.8p2/init
+++ b/meta/recipes-connectivity/openssh/openssh-5.8p2/init
@@ -36,6 +36,10 @@ check_keys() {
36 echo " generating ssh RSA key..." 36 echo " generating ssh RSA key..."
37 ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa 37 ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
38 fi 38 fi
39 if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
40 echo " generating ssh ECDSA key..."
41 ssh-keygen -q -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa
42 fi
39 if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then 43 if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
40 echo " generating ssh DSA key..." 44 echo " generating ssh DSA key..."
41 ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa 45 ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa