Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-12 14:31:58 +01:00
forgejo/docker/root/etc
Giteabot 493a45615d
Correct permissions for .ssh and authorized_keys (#25721) (#25731)
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>
(cherry picked from commit e6801df99c)
2023-07-10 18:49:52 +02:00
..
s6 Correct permissions for .ssh and authorized_keys (#25721) (#25731) 2023-07-10 18:49:52 +02:00
templates Remove deprecated DSA host key from Docker Container (#21522) 2022-11-03 19:49:12 +08:00
nsswitch.conf [docker] drop the docker Makefile from the image (#6507) 2019-05-05 22:49:32 -04:00