Harden OpenSSH

This commit is contained in:
Vivian 2021-11-23 17:44:00 +01:00
parent 99bdbd6b59
commit cc80f0afa7
3 changed files with 21 additions and 7 deletions

View file

@ -45,12 +45,15 @@
'';
# Enable SSH daemon support.
services.openssh.enable = true;
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
};
vault-secrets = {
vaultPrefix = "nixos";
vaultAddress = "http://vault.olympus:8200/";
approlePrefix = "olympus-${config.networking.hostName}";
};
}