add boris keys, turn off root login
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
description = "Boris Mann";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [];
|
||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII54a7T+KQOoGhFe34LSTE5b3FmIwcDcAbYXgWGY3sax" ];
|
||||
};
|
||||
|
||||
users.users.anish = {
|
||||
@@ -88,9 +89,6 @@
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
};
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
|
||||
Reference in New Issue
Block a user