From 7e4bbfba5a51ee2710a8bc8e1f7b01660dcc4072 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 28 Aug 2015 14:29:34 +0300 Subject: [PATCH] sshd_config: also remove ecdsa keys --- etc/ssh/sshd_config | 2 -- 1 file changed, 2 deletions(-) diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config index 01a4f394..56e3411a 100755 --- a/etc/ssh/sshd_config +++ b/etc/ssh/sshd_config @@ -20,12 +20,10 @@ Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key -HostKey /etc/ssh/ssh_host_ecdsa_key HostKey /etc/ssh/ssh_host_ed25519_key ## IF THE HOST KEYS ARE MISSING, RUN THE FOLLOWING AS ROOT: # ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key -# ssh-keygen -t ecdsa -N "" -f /etc/ssh/ssh_host_ecdsa_key # ssh-keygen -t ed25519 -N "" -f /etc/ssh/ssh_host_ed25519_key # Uncomment one of the following depending on which OS