Harden OpenSSH
This commit is contained in:
parent
e638c9aa5a
commit
d5e2e248e3
3 changed files with 21 additions and 7 deletions
|
@ -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}";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue