Enable password login through ssh.
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
allowSFTP = true;
|
allowSFTP = true;
|
||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = false;
|
|
||||||
KbdInteractiveAuthentication = false;
|
|
||||||
PermitRootLogin = "prohibit-password"; # Allow root login with SSH keys only
|
PermitRootLogin = "prohibit-password"; # Allow root login with SSH keys only
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user