loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Set SSH_AUTHORIZED_KEYS_BACKUP to false (#25412)

This prevents the disk from overflowing with auth keys file

Fixes #17117

## ⚠️ BREAKING

This changes the default option for creating a backup of the authorized
key file when an update is made to default to false.

authored by

techknowlogick and committed by
GitHub
469d89b9 de981c39

+1 -1
+1 -1
modules/setting/ssh.go
··· 173 173 } 174 174 } 175 175 176 - SSH.AuthorizedKeysBackup = sec.Key("SSH_AUTHORIZED_KEYS_BACKUP").MustBool(true) 176 + SSH.AuthorizedKeysBackup = sec.Key("SSH_AUTHORIZED_KEYS_BACKUP").MustBool(false) 177 177 SSH.CreateAuthorizedKeysFile = sec.Key("SSH_CREATE_AUTHORIZED_KEYS_FILE").MustBool(true) 178 178 179 179 SSH.AuthorizedPrincipalsBackup = false