diff options
Diffstat (limited to 'ssh.nix')
| -rw-r--r-- | ssh.nix | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ssh.nix b/ssh.nix deleted file mode 100644 index d58a2a1..0000000 --- a/ssh.nix +++ /dev/null @@ -1,15 +0,0 @@ -{...}:{ - services.fail2ban.enable = true; - - services.openssh = { - enable = true; - authorizedKeysInHomedir = false; - settings = { - PasswordAuthentication = false; - PermitRootLogin = "no"; - AllowUsers = [ "kassouni" "git" ]; - KbdInteractiveAuthentication = false; - PubkeyAuthentication = true; - }; - }; -} |