Hello
CentOS 7.4 64bit
Following this howto -> https://help.directadmin.com/item.php?id=439
Proftp don't restart.
How to fix that?
CentOS 7.4 64bit
Following this howto -> https://help.directadmin.com/item.php?id=439
Proftp don't restart.
Code:
systemctl status proftpd -l
...proftpd[10200]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 13 of '/etc/proftpd.sftp.conf'
...proftpd[10200]: warning: unable to include '/etc/proftpd.sftp.conf': Operation not permitted
...proftpd[10200]: fatal: SFTPHostKey: unable to check '/etc/ssh/ssh_host_dsa_key': No such file or directory on line 90 of '/etc/proftpd.conf'
Code:
ls -l /etc/ssh/ssh_host_*
-rw-r----- 1 root ssh_keys 227 Nov 24 00:49 /etc/ssh/ssh_host_ecdsa_key
-rw-r--r-- 1 root root 162 Nov 24 00:49 /etc/ssh/ssh_host_ecdsa_key.pub
-rw-r----- 1 root ssh_keys 387 Nov 24 00:49 /etc/ssh/ssh_host_ed25519_key
-rw-r--r-- 1 root root 82 Nov 24 00:49 /etc/ssh/ssh_host_ed25519_key.pub
-rw-r----- 1 root ssh_keys 1675 Nov 24 00:49 /etc/ssh/ssh_host_rsa_key
-rw-r--r-- 1 root root 382 Nov 24 00:49 /etc/ssh/ssh_host_rsa_key.pub
How to fix that?