SSH public key authentication: Difference between revisions
imported>Milahu rename challengeResponseAuthentication to kbdInteractiveAuthentication |
imported>Vilvo m update due to openssh services configuration options renaming |
||
| 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; | |||
KbdInteractiveAuthentication = false; | |||
}; | |||
#permitRootLogin = "yes"; | #permitRootLogin = "yes"; | ||
}; | }; | ||