I'll admit I'm not the most sysadmin savvy person; this is my first time working with google cloud and bitnami so I really do not know what I'm doing.
The problem: I wanted to set the permissions of a project folder to 755 for php related reasons (creating/editing files for accounts on my project) and I did not know that the .ssh folder for the disk was located in the same spot - /home/[myusername]/
. I intended to modify /home/[myusername]/[project]/userdata/
but I think I did it two directories up and recursively. Since it's now configured incorrectly, none of my keys work anymore, and even after generating new ones with PuttyGen and setting that up in the Google Cloud instance manager, I still can't connect. I have no obvious way of getting back into the server and fixing the permissions.
The question: Is there some other way for me to access my instance's file system to set the folder's permissions correctly and/or reset ssh? And what permissions should that folder have? I can access the google cloud console but I have no idea where to look. I don't want to start over because I made the further stupid mistake of not saving the project's code onto my local machine or a git repository.
Instance type: Bitnami LAMP 7.4.20-8