From 9460cc38a87617f3551562b340053c0a7a6b85cd Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 30 Jul 2017 03:16:32 -0400 Subject: Add sshd_config --- README | 7 ++----- sshd_config | 13 +++++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 sshd_config 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 -- cgit 1.4.1