mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: harden sshd
This commit is contained in:
parent
fedeb86522
commit
7f5ef58981
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@
|
|||
enable = true;
|
||||
ports = [22];
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
PasswordAuthentication = false;
|
||||
AllowUsers = null;
|
||||
PermitRootLogin = "yes";
|
||||
PermitRootLogin = "no";
|
||||
LoginGraceTime = 0;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue