0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 10:38:42 +01:00
gitea/docker/root
Jason Song 5b7b7c4f3c
Correct permissions for .ssh and authorized_keys (#25721)
Set the correct permissions on the .ssh directory and authorized_keys
file, or sshd will refuse to use them and lead to clone/push/pull
failures.

It could happen when users have copied their data to a new volume and
changed the file permission by accident, and it would be very hard to
troubleshoot unless users know how to check the logs of sshd which is
started by s6.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-06 17:00:38 +02:00
..
etc Correct permissions for .ssh and authorized_keys (#25721) 2023-07-06 17:00:38 +02:00
usr