mastus: sshd: disable password auth

This commit is contained in:
Gabriel Ebner 2015-10-25 14:21:03 +01:00
parent 0bb6fd7e8c
commit cfa98eda52
1 changed files with 4 additions and 1 deletions

View File

@ -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;