Skip to content

Commit 4e90c10

Browse files
authored
Update gitea-install.sh
1 parent 07a2bc6 commit 4e90c10

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

install/gitea-install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ setup_deb_based() {
3030
chown -R gitea:gitea /var/lib/gitea/
3131
chmod -R 750 /var/lib/gitea/
3232
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).
3633
chmod 750 /etc/gitea
3734
sudo -u gitea ln -s /var/lib/gitea/data/.ssh/ /etc/gitea/.ssh
3835
msg_ok "Configured Gitea"

0 commit comments

Comments
 (0)