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; | ||
# | # require public key authentication for better security | ||
# | passwordAuthentication = false; | ||
kbdInteractiveAuthentication = false; | |||
#permitRootLogin = "yes"; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||