There was an error while loading. Please reload this page.
1 parent 07a2bc6 commit 4e90c10Copy full SHA for 4e90c10
1 file changed
install/gitea-install.sh
@@ -30,9 +30,6 @@ setup_deb_based() {
30
chown -R gitea:gitea /var/lib/gitea/
31
chmod -R 750 /var/lib/gitea/
32
chown root:gitea /etc/gitea
33
- # sshd's StrictModes rejects pubkey auth if authorized_keys or any parent dir up to
34
- # $HOME is group-writable - 770 here silently broke git-over-SSH (falls back to
35
- # password auth, which fails since the gitea user has no password).
36
chmod 750 /etc/gitea
37
sudo -u gitea ln -s /var/lib/gitea/data/.ssh/ /etc/gitea/.ssh
38
msg_ok "Configured Gitea"
0 commit comments