make ssh config more strict

This commit is contained in:
Leonardo Eugênio 2022-11-10 20:54:28 -03:00
parent 329fb7fd96
commit 28c32073a0

View file

@ -48,7 +48,13 @@
programs.firejail.enable = true;
security.rtkit.enable = true;
services.sshd.enable = true;
services.openssh = {
enable = true;
kbdInteractiveAuthentication = false;
passwordAuthentication = false;
permitRootLogin = "no";
ports = [ 9022 ];
};
## Enable sound with pipewire.
sound.enable = true;