aboutsummaryrefslogtreecommitdiff
path: root/package/openssh/S50sshd
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-02-02 23:01:28 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-03 09:26:56 +0100
commita93c98bb95d9b2fecfaec7c6347c57bf90e51c31 (patch)
treed08e744a5b8225c9887f5d83409e30fd8cd46c97 /package/openssh/S50sshd
parent3bcb7e74be71990e7c88facd54d6b90d3d04d681 (diff)
downloadbuildroot-a93c98bb95d9b2fecfaec7c6347c57bf90e51c31.tar.gz
buildroot-a93c98bb95d9b2fecfaec7c6347c57bf90e51c31.tar.bz2
openssh: bump to version 6.5p1
Convert the ever growing drop-SUSv3-legacy patch to a sed expression. Modify the initscript to create ed25519 server key. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openssh/S50sshd')
-rw-r--r--package/openssh/S50sshd9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/openssh/S50sshd b/package/openssh/S50sshd
index b65b3c8a70..d3abf7c8ea 100644
--- a/package/openssh/S50sshd
+++ b/package/openssh/S50sshd
@@ -21,7 +21,6 @@ fi
# Check for the SSH2 DSA key
if [ ! -f /etc/ssh_host_dsa_key ] ; then
echo Generating DSA Key...
- echo THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!
echo
/usr/bin/ssh-keygen -t dsa -f /etc/ssh_host_dsa_key -C '' -N ''
fi
@@ -29,11 +28,17 @@ 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
+# Check for the ed25519 key
+if [ ! -f /etc/ssh_host_ed25519_key ]; then
+ echo Generating ed25519 Key...
+ echo
+ /usr/bin/ssh-keygen -t ed25519 -f /etc/ssh_host_ed25519_key -C '' -N ''
+fi
+
umask 077
start() {