summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh-5.8p2
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-09-15 16:10:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-16 13:30:22 +0100
commit0a27b8b76da5e913e93afbb31c4939b4bf06e235 (patch)
tree32f32149b30bc97c0e8ec7c460b1c33c210de263 /meta/recipes-connectivity/openssh/openssh-5.8p2
parentbb4a5c44da23a1bb363f1f081cf1644fd7975957 (diff)
downloadpoky-0a27b8b76da5e913e93afbb31c4939b4bf06e235.tar.gz
openssh: update init script to create ECDSA keys if needed
* Starting with openssh-5.8p1, the server will default to a newer key algorithm (ECDSA). (From OE-Core rev: 998e3acf0d38007fde10f47f98b71192685e19b9) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh-5.8p2')
-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