3 Jul
2017
3 Jul
'17
20:41
On 2017-07-03 20:52, andreil1@starlett.lv wrote:
Hi !
Unexpectedly I've got this warning on one of the servers: SSH warning: Permissions 0640 for '/etc/ssh/ssh_host_xxx_key' are too open
So change them. Example: cer@Telcontar:~> l /etc/ssh/ssh_host* -rw------- 1 root root 668 Dec 26 2016 /etc/ssh/ssh_host_dsa_key -rw-r--r-- 1 root root 600 Dec 26 2016 /etc/ssh/ssh_host_dsa_key.pub
Because of this, ssh daemon have not written any logs. I have fail2ban installed from the beginning and checking log showed that it continuously banned many IPs.
Probably because the daemon does not start. No logs, no further errors. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)