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];
|
xdg.portal.extraPortals = [pkgs.kdePackages.xdg-desktop-portal-kde];
|
||||||
services = {
|
services = {
|
||||||
|
openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# require public key authentication for better security
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
KbdInteractiveAuthentication = false;
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
};
|
||||||
|
};
|
||||||
displayManager = {
|
displayManager = {
|
||||||
# defaultSession = "plasma";
|
# defaultSession = "plasma";
|
||||||
sddm.wayland.enable = lib.mkForce true;
|
sddm.wayland.enable = lib.mkForce true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue