Easy and Simple Solution

Friday, May 7, 2021

fatal sftphostkey unable to use '/etc/ssh/ssh_host_rsa_key' as host key

1 comment
Due to inappropriate permission for ssh error occured. 

 [server@demo setupftp]# proftpd 
2014-8-14 21:08:39,896 host.serverdemo proftpd[6934]: fatal: SFTPHostKey: unable to use '/etc/ssh/ssh_host_rsa_key' as host key, as it is group- or world-accessible on line 21 of '/usr/etc/proftpd.conf'

chmod 600 /etc/ssh/ssh_host_rsa_key
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa

1 comment :

Real Time Analytics -->