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