aboutsummaryrefslogtreecommitdiff
path: root/package/openssh/S50sshd
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2011-02-11 10:27:18 -0300
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2011-02-14 22:22:05 +0100
commitc1bb0979999318397a014b9fcce727948153bf4f (patch)
tree2fc9239aef7c4c9c531a298c0206f2a4d740f37f /package/openssh/S50sshd
parent4120e051f6c1721dbe9419e5942df833ba53159e (diff)
downloadbuildroot-c1bb0979999318397a014b9fcce727948153bf4f.tar.gz
buildroot-c1bb0979999318397a014b9fcce727948153bf4f.tar.bz2
openssh: security bump to version 5.8p1
http://www.openssh.com/txt/legacy-cert.adv CVE-2011-0539 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openssh/S50sshd')
-rw-r--r--package/openssh/S50sshd8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/openssh/S50sshd b/package/openssh/S50sshd
index 3821449fbf..f0d2aef5ab 100644
--- a/package/openssh/S50sshd
+++ b/package/openssh/S50sshd
@@ -25,6 +25,14 @@ if [ ! -f /etc/ssh_host_dsa_key ] ; then
echo
/usr/bin/ssh-keygen -t dsa -f /etc/ssh_host_dsa_key -C '' -N ''
fi
+
+# Check for the SSH2 ECDSA key
+if [ ! -f /etc/ssh_host_ecdsa_key ]; then
+ echo Generating ECDSA Key...
+ echo THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!
+ echo
+ /usr/bin/ssh-keygen -t ecdsa -f /etc/ssh_host_ecdsa_key -C '' -N ''
+fi
umask 077