feat(servers): fix ssh not working with forgejo.
This commit is contained in:
parent
850f15885a
commit
606f04493b
2 changed files with 13 additions and 1 deletions
|
@ -31,4 +31,11 @@
|
|||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
authorizedKeysFiles = ["/var/lib/%u/.ssh/authorized_keys"];
|
||||
settings = {
|
||||
AllowUsers = ["forgejo"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue