(I'm very inexperienced with servers)
After getting frustrated with some permission issues on my AWS EC2 instance I decided I would do the command:
chmod -R 777 /
I thought that would change the permissions of the folder I was in, but it seems to have affected every file on my server instance. As a result, I can no longer SSH into the server. It simply says connection failed
.
The only image of the server I took was from way too long ago and doesn't have the files I want.
Is there a way I can simply download the files I want from the AWS console, and then from there just upload them to a new instance?
Edit
The reason that I can no longer login is because the key pair (as well as several other files) cannot be found with the new 777 permissions, thus preventing me from logging in.
This is however, not my question. My question is how to get these files.