feat(sshd conf): disable password authentication
This commit is contained in:
parent
f3b4188f13
commit
c51d76aa20
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@
|
||||||
|
|
||||||
console.keyMap = "us";
|
console.keyMap = "us";
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = { PasswordAuthentication = false; };
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ cryptsetup ];
|
environment.systemPackages = with pkgs; [ cryptsetup ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue