mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 07:35:30 +00:00
493a45615d
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
|
||
---|---|---|
.. | ||
etc | ||
usr |