Easy and Simple Solution

Friday, August 5, 2016

sftp host key verification failed

No comments
You might encounter error while start the proftpd service on terminal.
[root@host demo]# proftpd
2015-06-20 18:10:54,885 host.demo.com proftpd[30864]: fatal: SFTPHostKey: unable to check '/etc/ssh/ssh_host_dsa_key': No such file or directory on line 21 of '/usr/etc/proftpd.conf'
Generating Host Keys

ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
re-generate the dsa keys,rsa keys for your host.
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key

No comments :

Post a Comment