Try to fix ssh usage
This commit is contained in:
parent
17cc2f8e44
commit
d09a8ec04f
1 changed files with 1 additions and 3 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue