feat(servers): fix ssh not working with forgejo.

This commit is contained in:
CronyAkatsuki 2025-05-10 09:30:41 +02:00
parent 850f15885a
commit 606f04493b
2 changed files with 13 additions and 1 deletions

View file

@ -31,4 +31,11 @@
entrypoints = "websecure";
};
};
services.openssh = {
authorizedKeysFiles = ["/var/lib/%u/.ssh/authorized_keys"];
settings = {
AllowUsers = ["forgejo"];
};
};
}