enable ssh for shodan
This commit is contained in:
parent
6a43eb6acb
commit
adf6f74200
1 changed files with 9 additions and 0 deletions
|
|
@ -78,6 +78,15 @@
|
|||
|
||||
xdg.portal.extraPortals = [pkgs.kdePackages.xdg-desktop-portal-kde];
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# require public key authentication for better security
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
displayManager = {
|
||||
# defaultSession = "plasma";
|
||||
sddm.wayland.enable = lib.mkForce true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue