commit 2e1c9417144d605023addf895d2f5a79778e8567 Author: Fredrik Rinnestam <fredrik@crux.nu> Date: Sat Feb 1 15:06:20 2014 +0100 openssh: generate ed25519 key diff --git a/openssh/.md5sum b/openssh/.md5sum index 9054478..8e709bf 100644 --- a/openssh/.md5sum +++ b/openssh/.md5sum @@ -1,2 +1,2 @@ a084e7272b8cbd25afe0f5dce4802fef openssh-6.5p1.tar.gz -ce4ef44c7d80f6451170e6fe5c07d3f4 sshd +569e2757f9a1fcee7869c986b4c90fdd sshd diff --git a/openssh/Pkgfile b/openssh/Pkgfile index 02bfbc1..c228b39 100644 --- a/openssh/Pkgfile +++ b/openssh/Pkgfile @@ -5,7 +5,7 @@ name=openssh version=6.5p1 -release=1 +release=2 source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz sshd) build() { diff --git a/openssh/sshd b/openssh/sshd index 11a1c26..57189a6 100755 --- a/openssh/sshd +++ b/openssh/sshd @@ -17,6 +17,9 @@ start) if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then /usr/bin/ssh-keygen -t ecdsa -N "" -f /etc/ssh/ssh_host_ecdsa_key > /dev/null fi + if [ ! -f /etc/ssh/ssh_host_ed25519_key ]; then + /usr/bin/ssh-keygen -t ed25519 -N "" -f /etc/ssh/ssh_host_ed25519_key > /dev/null + fi /usr/sbin/sshd ;; stop)