Hi,
I have mistakenly changed the permissions of the /etc folder, which generates the following error:
Jan 25 00:07:33 sshd[2321285]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Jan 25 00:07:33 sshd[2321285]: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
Jan 25 00:07:33 sshd[2321285]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Jan 25 00:07:33 sshd[2321285]: Permissions 0660 for '/etc/ssh/ssh_host_ecdsa_key' are too open.
Jan 25 00:07:33 sshd[2321285]: It is required that your private key files are NOT accessible by others.
Jan 25 00:07:33 sshd[2321285]: This private key will be ignored.
Jan 25 00:07:33 sshd[2321285]: Unable to load host key "/etc/ssh/ssh_host_ecdsa_key": bad permissions
Jan 25 00:07:33 sshd[2321285]: Unable to load host key: /etc/ssh/ssh_host_ecdsa_key
and prevents me from connecting in SSH, I can’t even activate it.
I use a VPS server, without SSH connection possible, I can’t remove the permissions, if I update Yunohost will the permissions be restored? Is there a solution?
Maybe, when this error is detected, from the interface having a button that will allow to reset the default permissions would be great.
Thanks for your help.