disable ssh password auth
This commit is contained in:
parent
3df732b793
commit
e5379891a5
|
|
@ -59,7 +59,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