Skip to content

Commit 9c16097

Browse files
committed
fix(sshd): disable preauth sandbox and strict modes in android sshd_config
1 parent 2156f6b commit 9c16097

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

machines/aarch64/android/common.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
PermitEmptyPasswords no
1111
ChallengeResponseAuthentication no
1212
PrintMotd no
13+
UsePrivilegeSeparation no
14+
StrictModes no
15+
UseDNS no
1316
AcceptEnv LANG LC_*
1417
SetEnv PATH=${config.home.homeDirectory}/.nix-profile/bin:/data/data/com.termux/files/usr/bin:/bin:/usr/bin
1518
'';

0 commit comments

Comments
 (0)