Well, I am new to Linux. And I have done something stupid enough to get me into trouble.
So the thing is that I have an AWS account, and was working fine except for my PDF rendering service. I figure out it had something to do with file permissions.
So, I used the following commands:
cd /var/
find . -type d -exec chmod 0775 {} \;
find . -type f -exec chmod 0644 {} \;
The PDF rendering issue got solved, but now I can't connect to my server neither with Filezilla nor putty.
I know that I have to change my /var
file permission to 755. But I don't know where to change that.
What should I do next so that I can connect to my server?
If I create a new key-pair for my existing instance, can then I ssh through putty?