about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-07-30 03:16:32 -0400
committerJune McEnroe <programble@gmail.com>2017-07-30 03:16:32 -0400
commit06f216e8523a623faa17f6c40459304b9a5d22b5 (patch)
tree3b7453efa3b7e10dbf0deef33f748b4cef65a44d
parentAdd termcap patch (diff)
downloadtorus-06f216e8523a623faa17f6c40459304b9a5d22b5.tar.gz
torus-06f216e8523a623faa17f6c40459304b9a5d22b5.zip
Add sshd_config
Diffstat (limited to '')
-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