summary refs log tree commit diff
path: root/scripts/sshd_config
diff options
context:
space:
mode:
authorC. McEnroe2020-02-11 22:07:01 -0500
committerC. McEnroe2020-02-11 22:28:39 -0500
commit252428f97aa6a8f4e5b612757ce96d2d0d37e2f3 (patch)
treeeccc953e0838dccb5912fcf4a408c8084ff304a5 /scripts/sshd_config
parent907d4b4605a212a645fc78420a29fa34ed9c0642 (diff)
Add chroot target
Diffstat (limited to 'scripts/sshd_config')
-rw-r--r--scripts/sshd_config13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/sshd_config b/scripts/sshd_config
new file mode 100644
index 0000000..4669f7f
--- /dev/null
+++ b/scripts/sshd_config
@@ -0,0 +1,13 @@
+UsePAM no
+
+Match User chat
+	PasswordAuthentication yes
+	PermitEmptyPasswords yes
+	ChrootDirectory /home/chat
+	ForceCommand catgirl-prompt
+
+	AllowAgentForwarding no
+	AllowTcpForwarding no
+	AllowStreamLocalForwarding no
+	MaxSessions 1
+	X11Forwarding no