diff options
Diffstat (limited to 'network/openssh-krb5/rc.sshd.krb5')
-rw-r--r-- | network/openssh-krb5/rc.sshd.krb5 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/network/openssh-krb5/rc.sshd.krb5 b/network/openssh-krb5/rc.sshd.krb5 index 4f795d1150268..5a324f0c2e39b 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 } |