Disable ssh password auth
This commit is contained in:
parent
8caa0b5998
commit
f762ec14cd
1 changed files with 5 additions and 1 deletions
|
@ -75,7 +75,11 @@
|
||||||
|
|
||||||
envfs.enable = true;
|
envfs.enable = true;
|
||||||
|
|
||||||
openssh.enable = true;
|
openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings.PasswordAuthentication = false;
|
||||||
|
settings.KbdInteractiveAuthentication = false;
|
||||||
|
};
|
||||||
|
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
avahi.enable = true;
|
avahi.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue