make ssh config more strict
This commit is contained in:
parent
329fb7fd96
commit
28c32073a0
|
@ -48,7 +48,13 @@
|
||||||
programs.firejail.enable = true;
|
programs.firejail.enable = true;
|
||||||
|
|
||||||
security.rtkit.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.
|
## Enable sound with pipewire.
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue