cd /etc/ssh
chmod 700 chmod 744 ssh_host_ecdsa_key ssh_host_rsa_ key
centos7:
systemctl restart sshd
centos6:
service sshd restart