diff options
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh-5.8p2/init')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh-5.8p2/init | 4 |
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() { echo " generating ssh RSA key..." ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa fi + if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then + echo " generating ssh ECDSA key..." + ssh-keygen -q -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa + fi if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then echo " generating ssh DSA key..." ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa |