SSH public key authentication: Difference between revisions

imported>Milahu
No edit summary
imported>Milahu
rename challengeResponseAuthentication to kbdInteractiveAuthentication
Line 36: Line 36:
services.openssh = {
services.openssh = {
   enable = true;
   enable = true;
# passwordAuthentication = false; # default true
  # require public key authentication for better security
# permitRootLogin = "yes";
  passwordAuthentication = false;
#  challengeResponseAuthentication = false;
  kbdInteractiveAuthentication = false;
  #permitRootLogin = "yes";
};
};
</syntaxhighlight>
</syntaxhighlight>