Added mailserver submodule; OpenSSH now logs sftp access.
This commit is contained in:
parent
9003080a64
commit
764f126524
3 changed files with 8 additions and 0 deletions
|
@ -1,8 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
# For reference:
|
||||
# https://infosec.mozilla.org/guidelines/openssh.html
|
||||
# https://stribika.github.io/2015/01/04/secure-secure-shell.html
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
sftpFlags = [ "-f AUTHPRIV" "-l INFO" ];
|
||||
startWhenNeeded = true;
|
||||
challengeResponseAuthentication = false;
|
||||
passwordAuthentication = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue