mastus: sshd: disable password auth
This commit is contained in:
parent
0bb6fd7e8c
commit
cfa98eda52
@ -30,7 +30,10 @@
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
|
||||
users.extraUsers.gebner = {
|
||||
isNormalUser = true;
|
||||
|
Loading…
Reference in New Issue
Block a user