disable ssh password auth
This commit is contained in:
parent
87fbe0cc1b
commit
0f90609498
|
|
@ -191,7 +191,7 @@
|
|||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = true; # Enable password authentication.
|
||||
PasswordAuthentication = false; # Enable password authentication.
|
||||
PermitRootLogin = "yes"; # Allow root login (not recommended for production).
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue