hosts: adjust ssh settings
This commit is contained in:
parent
3b54872d0a
commit
381c862e6f
@ -93,8 +93,10 @@
|
|||||||
services = {
|
services = {
|
||||||
openssh = { # SSH: secure shell (remote connection to shell of server)
|
openssh = { # SSH: secure shell (remote connection to shell of server)
|
||||||
enable = true; # local: $ ssh <user>@<ip>
|
enable = true; # local: $ ssh <user>@<ip>
|
||||||
passwordAuthentication = false;
|
settings = {
|
||||||
permitRootLogin = "no";
|
passwordAuthentication = false;
|
||||||
|
permitRootLogin = "no";
|
||||||
|
};
|
||||||
ports = [ 2220 ];
|
ports = [ 2220 ];
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user