1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-04 10:30:19 -05:00
forgejo/docker/root/etc/s6/gitea
Giteabot 09668b2e2e
Correct permissions for .ssh and authorized_keys (#25721) (#25730)
Backport #25721 by @wolfogre

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: Jason Song <i@wolfogre.com>
2023-07-06 11:02:56 -04:00
..
finish docker: ask s6 to stop all service when gitea stop (#9171) 2019-11-27 13:08:57 -05:00
run Use shadowing script for docker (#17846) 2021-12-01 18:08:27 +00:00
setup Correct permissions for .ssh and authorized_keys (#25721) (#25730) 2023-07-06 11:02:56 -04:00