Question du test Linux

Changer les permissions du fichier /home/strawberry/.ssh/authorized_keys à 600,Changer les permissions du fichier /home/strawberry/ à 755

Difficile

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  
Auteur: Kevin LefevreStatut : PubliéeQuestion passée 912 fois
Modifier
2
Évaluations de la communauté
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 !