Infini-DL360: add incoming chroot user

This commit is contained in:
Infinidoge 2024-06-23 00:36:11 -04:00
parent c8752ac2fb
commit 0b87d62f7a
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 27 additions and 0 deletions

View file

@ -5,6 +5,7 @@ with lib;
services.openssh = {
enable = true;
openFirewall = mkDefault true;
sftpServerExecutable = "internal-sftp";
settings = {
X11Forwarding = mkDefault false;
GatewayPorts = mkDefault "yes";