I have a new web-admin and he mistakenly ran chmod -r 755 /etc to try and disallow our shell users from reading any other files. As a result, SSH on our server does not work. How can we fix this?
Asked
Active
Viewed 1,652 times
1 Answers
3
You need to make the ssh server keys only readable by root again:
chmod 600 /etc/ssh/ssh_host_*_key
may do the job
Craig Miskell
- 4,356
- 1
- 19
- 18