I am having an issue with the ssh daemon not starting on one of EC2 instances. I created another instance to access the volume, mounted the volume without any issues and tried many many solutions without any help. Seeing the instance log I see that "1;31mFAILED[0m] Failed to start OpenSSH server daemon. See 'systemctl status sshd.service' for details. " I accessed the volume logs from a second instance and I could see the following error: "/etc/ssh/sshd_config: Permission denied". I tried changing the permissions of the sshd_config files to 711, 755 and even 777 without any help. Changed the owner with chroot and without also didn't help.
Any suggestions are very welcomed