SSH public key authentication: Difference between revisions

imported>Sashanoraa
imported>Brogolem35
No edit summary
Line 37: Line 37:
   enable = true;
   enable = true;
   # require public key authentication for better security
   # require public key authentication for better security
   passwordAuthentication = false;
   settings.PasswordAuthentication = false;
   kbdInteractiveAuthentication = false;
   settings.KbdInteractiveAuthentication = false;
   #permitRootLogin = "yes";
   #settings.PermitRootLogin = "yes";
};
};
</syntaxhighlight>
</syntaxhighlight>