This is the error of ssh when i check logs
Permissions 0777 for ‘/etc/ssh/ssh_host_key’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
key_load_private: bad permissions
Could not load host key: /etc/ssh/ssh_host_key
/run/sshd must be owned by root and not group or world-writable.