Question from the Linux test

Change file permission of /home/strawberry/.ssh/authorized_keys to 600,Change file permission of /home/strawberry/ to 755

Hard

User strawberry with primary group strawberry trouble login into a host using her ssh keys. Given below file listing on the target host which file need modified permission to fix the ssh key login issue?


drwxrwxr-x 4 strawberry fruit      4096 Jan 19 00:22 /home/strawberry
drwxrwxr-x 2 strawberry strawberry 4096 Jan 19 00:05 /home/strawberry/.ssh
-rw-rw-rw- 1 strawberry strawberry 6406 Jan 19 00:04 /home/strawberry/.ssh/authorized_keys
-rw-rw-rw- 1 strawberry strawberry 1623 Jan 19 00:04 /home/strawberry/.ssh/id_rsa.pub
-rw-rw-rw- 1 strawberry strawberry 1004 Jan 19 00:04 /home/strawberry/.ssh/known_hosts
-rw-rw-rw- 1 strawberry strawberry 6569 Jan 19 00:04 /home/strawberry/.ssh/id_rsa  
Author: Kevin LefevreStatus: PublishedQuestion passed 849 times
Edit
2
Community Evaluations
developer avatar
Maxime
14/11/2021
The result of `ls` is not well formatted and make reading difficult
developer avatar
Clément Devos (W3D Team)
15/11/2021
Thanks, i fixed it using markdown !