SSH public key authentication: Difference between revisions

imported>Vilvo
m update due to openssh services configuration options renaming
imported>Sashanoraa
Line 37: Line 37:
   enable = true;
   enable = true;
   # require public key authentication for better security
   # require public key authentication for better security
   settings = {
   passwordAuthentication = false;
    PasswordAuthentication = false;
  kbdInteractiveAuthentication = false;
    KbdInteractiveAuthentication = false;
  };
   #permitRootLogin = "yes";
   #permitRootLogin = "yes";
};
};