summaryrefslogtreecommitdiff
path: root/network/openssh-krb5/rc.sshd.krb5
diff options
context:
space:
mode:
authorLeigh Wedding <leigh.wedding@telstra.com>2014-10-24 07:36:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-24 07:37:35 +0700
commit933e764c90d10dc22010bd91bbb75a247081d280 (patch)
treebbee6042ee4bda06b2a0d3a60ee70b40daac90d1 /network/openssh-krb5/rc.sshd.krb5
parent601999d0206f48efdedf5f6c35c4309b5d0d153b (diff)
downloadslackbuilds-933e764c90d10dc22010bd91bbb75a247081d280.tar.gz
network/openssh-krb5: Updated for version 6.7p1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openssh-krb5/rc.sshd.krb5')
-rw-r--r--network/openssh-krb5/rc.sshd.krb56
1 files changed, 6 insertions, 0 deletions
diff --git a/network/openssh-krb5/rc.sshd.krb5 b/network/openssh-krb5/rc.sshd.krb5
index 4f795d1150..5a324f0c2e 100644
--- a/network/openssh-krb5/rc.sshd.krb5
+++ b/network/openssh-krb5/rc.sshd.krb5
@@ -12,6 +12,12 @@ sshd_start() {
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
/usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
fi
+ if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
+ /usr/bin/ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ''
+ fi
+ if [ ! -f /etc/ssh/ssh_host_ed25519_key ]; then
+ /usr/bin/ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ''
+ fi
/usr/kerberos/sbin/sshd
}