mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/sshd: add StrictModes option
This commit is contained in:
parent
3a7cda19dd
commit
eeabae56e7
1 changed files with 7 additions and 0 deletions
|
@ -375,6 +375,13 @@ in
|
||||||
<https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67>
|
<https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
StrictModes = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
Whether sshd should check file modes and ownership of directories
|
||||||
|
'';
|
||||||
|
};
|
||||||
Ciphers = mkOption {
|
Ciphers = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [
|
default = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue