mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-02-23 08:39:11 -05:00
disable password auth
This commit is contained in:
parent
63018d2746
commit
ff09a57d27
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authorizedKeysFiles = [ "${./ssh.keys}" ];
|
authorizedKeysFiles = [ "${./ssh.keys}" ];
|
||||||
|
settings = {
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue