services: Update outdated options
This commit is contained in:
parent
ecbf382d43
commit
828d3f3878
3 changed files with 16 additions and 11 deletions
configuration
|
@ -108,11 +108,14 @@
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
allowSFTP = false;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "no";
|
||||
ports = [2222];
|
||||
startWhenNeeded = true;
|
||||
gatewayPorts = "yes";
|
||||
|
||||
settings = {
|
||||
GatewayPorts = "yes";
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
security = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue