Ubuntu – .ssh folder permitted to 777

16.04ssh

I am using Ubuntu in AWS. By mistake, I was given the permission 777 to all subfolders of the main root directory. Changes also applied to the .ssh folder. Now I am unable to login AWS Instance by using SSH method. How can I change the permission of .ssh folder? Any help is appreciated.

Best Answer

Related Question