Add template host
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
{ ... }: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
# TODO: Allow root login from certain hosts.
|
||||
# Then dissallow rest.
|
||||
passwordAuthentication = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
# TODO: Allow root login from certain hosts.
|
||||
# Then dissallow rest.
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user