root@dc2:/home/eida# rm /etc/ssh/host_key_rsa_key* root@dc2:/home/eida# rm /etc/ssh/host_key_ecdsa_key* root@dc2:/home/eida# cat /etc/ssh/sshd_config | grep -v ^# | grep -v ^$ Include /etc/ssh/sshd_config.d/*.conf HostKey /etc/ssh/ssh_host_ed25519_key PermitRootLogin no PubkeyAuthentication yes PasswordAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no UsePAM yes AllowTcpForwarding no X11Forwarding no PrintMotd no AcceptEnv LANG LC_* Subsystem sftp /usr/lib/openssh/sftp-server root@dc2:/home/eida# /etc/init.d/ssh restart