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