wm: infra

ref: 40b40dac456b77f4b46b2e465931f821c564e26e
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