forked from nyanloutre/nixos-config
Plus de sécurité SSH
This commit is contained in:
parent
c395d478b6
commit
6e5b8749ed
1 changed files with 1 additions and 0 deletions
|
@ -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 = [ ];
|
||||
|
|
Loading…
Add table
Reference in a new issue