blob: d58a2a143e44b198e5bd8d990fbec2b5f4af21d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{...}:{
services.fail2ban.enable = true;
services.openssh = {
enable = true;
authorizedKeysInHomedir = false;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
AllowUsers = [ "kassouni" "git" ];
KbdInteractiveAuthentication = false;
PubkeyAuthentication = true;
};
};
}
|