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