Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I went on to my amazon ec2 successfully and I have been experimenting around. I found it annoying that I needed to always run sudo on everything so what I decided to do was to go to the root directory and change the permissions of everything to write, write, and execute.

I did so doing the following

chmod -R 777

I then exited out of the server.

The next time I tried to log in I got

"ssh_exchange_identification: read: Connection reset by peer"

How can I fix this?

1 Answer

0 votes
by (44.4k points)

Just rebooting your instance will solve this issue. 

EC2 Dashboard >> Instances >> Select an instance >> Click “Action” >> Instance State >> Reboot

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories

...