wm: infra

ref: a093dbb53911954c664b4ebfa0457f5f46011cda
dir: /unix/sshd_wm_config/

View raw version
# To use, install it in /etc/ssh/
# and add the following into /etc/ssh/sshd_config
# Include sshd_wm_config

Match User rcpu
	ForceCommand rlwarp -s -30 -apassword: -t dumb sshcpu cloud9p.org
	AllowTcpForwarding no
	AllowAgentForwarding no
	PermitTunnel no
	# rlwarp seem can't work with pty this way
	# even if we have a dev/pty*
        #ChrootDirectory /home/%u
	PermitEmptyPasswords yes
	DisableForwarding yes

Match User v5
	Banner /etc/v5_banner

Match User v7
	Banner /etc/v7_banner

Match Group emu
	ForceCommand emu
	Banner /etc/emu_banner
	PermitEmptyPasswords yes
	ChrootDirectory /home/%u
	X11Forwarding no
	AllowTcpForwarding no
	AllowAgentForwarding no
	PermitTunnel no
	DisableForwarding yes