2024-03-07 22:14:44 +00:00
|
|
|
{ ... }: {
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2024-03-08 19:10:50 +00:00
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "yes";
|
|
|
|
# TODO: Allow root login from certain hosts.
|
|
|
|
# Then dissallow rest.
|
|
|
|
PasswordAuthentication = true;
|
|
|
|
};
|
2024-03-07 22:14:44 +00:00
|
|
|
};
|
|
|
|
}
|