Skip to content

Commit

Permalink
[sshd] Explicitly set available HostKeys. Fixes JB#35278
Browse files Browse the repository at this point in the history
The default value lists nonexisting ssh_host_dsa_key and
ssh_host_ecdsa_key, producing a warning upon startup.

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
  • Loading branch information
martyone committed May 17, 2016
1 parent a48a304 commit dc273d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openssh/sshd_config
Expand Up @@ -25,6 +25,8 @@
#HostKey /etc/ssh/ssh_host_dsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ed25519_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
Expand Down

0 comments on commit dc273d2

Please sign in to comment.