Plus de sécurité SSH

This commit is contained in:
nyanloutre 2018-08-14 14:23:35 +02:00
parent c395d478b6
commit 6e5b8749ed
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.permitRootLogin = "no";
services.openssh.passwordAuthentication = false;
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedUDPPorts = [ ];