Initial commit
This commit is contained in:
9
system/sshd.nix
Normal file
9
system/sshd.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ ... }: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
# TODO: Allow root login from certain hosts.
|
||||
# Then dissallow rest.
|
||||
passwordAuthentication = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user