Easy and Simple Solution

Friday, May 7, 2021

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

3 comments
Due to inappropriate permission for ssh error occured. 

ERROR:
 [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'

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

3 comments :

  1. Every day you have you sites examined for malwares and infections, and your sites can likewise show the got site testament. https://onohosting.com/

    ReplyDelete
  2. Hi your posts are really good. also please look into the another blog,

    https://thelinuxfaq.com/

    ReplyDelete

Real Time Analytics -->