summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--projectroot/etc/rc.once.d/openssh1
-rw-r--r--projectroot/etc/ssh/sshd_config2
2 files changed, 1 insertions, 2 deletions
diff --git a/projectroot/etc/rc.once.d/openssh b/projectroot/etc/rc.once.d/openssh
index a49ddee0a..4a3c594cc 100644
--- a/projectroot/etc/rc.once.d/openssh
+++ b/projectroot/etc/rc.once.d/openssh
@@ -14,7 +14,6 @@ host_keys_required() {
else
# No HostKey directives found, so we pick secure defaults
echo /etc/ssh/ssh_host_ed25519_key
- echo /etc/ssh/ssh_host_rsa_key
fi
}
diff --git a/projectroot/etc/ssh/sshd_config b/projectroot/etc/ssh/sshd_config
index 14ae11901..297edd854 100644
--- a/projectroot/etc/ssh/sshd_config
+++ b/projectroot/etc/ssh/sshd_config
@@ -15,7 +15,7 @@
#ListenAddress 0.0.0.0
#ListenAddress ::
-HostKey /etc/ssh/ssh_host_rsa_key
+#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key