Try to fix ssh usage

This commit is contained in:
Michael Hübner 2025-07-29 15:23:51 +02:00
parent 17cc2f8e44
commit d09a8ec04f

View file

@ -23,8 +23,6 @@ in
./shared/ssh.nix
];
services.openssh.settings.AllowUsers = [ "backup" ];
users.users = {
# connection only via ssh key
backup = {
@ -106,7 +104,7 @@ in
openssh = {
ports = [ 62 ];
settings = {
AllowUsers = [ "forgejo" ];
AllowUsers = [ "forgejo" "backup" ];
};
};