blob: 25f6f8f1c9e534ffa7f2cc27a5b6906741c6089a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
{ settings, ... }:
{
services.sshd.enable = true;
# Auth
users.users.bacchus.openssh.authorizedKeys.keys = settings.ssh.authorizedKeys;
services.openssh.settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
ChallengeResponseAuthentication = false;
};
}
|