mastus: sshd: disable password auth

This commit is contained in:
Gabriel Ebner 2015-10-25 14:21:03 +01:00
parent 0bb6fd7e8c
commit cfa98eda52

@ -30,7 +30,10 @@
time.timeZone = "Europe/Amsterdam"; time.timeZone = "Europe/Amsterdam";
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh = {
enable = true;
passwordAuthentication = false;
};
users.extraUsers.gebner = { users.extraUsers.gebner = {
isNormalUser = true; isNormalUser = true;