1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

chore: update sshd config to follow upstream renames

This commit is contained in:
oddlama 2023-01-31 01:17:25 +01:00
parent 564907d987
commit fa8c14607c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -2,9 +2,11 @@
services.sshd.enable = true;
services.openssh = {
enable = true;
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
permitRootLogin = "yes";
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "yes";
};
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";