about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--README7
-rw-r--r--sshd_config13
2 files changed, 15 insertions, 5 deletions
diff --git a/README b/README
index 06c851e..198714d 100644
--- a/README
+++ b/README
@@ -9,8 +9,5 @@ C source files are self-compiling, e.g. ./server.c.
     client.c       Curses client.
     help.c         Automated client which redraws a helpful banner.
 
-On FreeBSD with TERM=xterm-256color, the client fails to display bright
-colors. Applying termcap.diff sets it equivalent to TERM=xterm.
-
-    patch -p0 -o termcap < termcap.diff
-    cap_mkdb termcap
+    termcap.diff   Patch for bright colors with TERM=xterm-256color.
+    sshd_config    Anonymous login to chrooted client.
diff --git a/sshd_config b/sshd_config
new file mode 100644
index 0000000..9e48107
--- /dev/null
+++ b/sshd_config
@@ -0,0 +1,13 @@
+UsePAM no
+
+Match User torus
+    PasswordAuthentication yes
+    PermitEmptyPasswords yes
+    ChrootDirectory /home/torus
+    ForceCommand client
+
+    AllowAgentForwarding no
+    AllowTcpForwarding no
+    AllowStreamLocalForwarding no
+    MaxSessions 1
+    X11Forwarding no