aboutsummaryrefslogtreecommitdiff
Match user new
	PAMServiceName autopeer
	KbdInteractiveAuthentication yes
	AuthorizedKeysCommand /opt/autopeer/authorized_keys.sh %u %t %k %C
	AuthorizedKeysCommandUser root
	AuthenticationMethods publickey keyboard-interactive
	AllowAgentForwarding no
	AllowStreamLocalForwarding no
	AllowTcpForwarding no
	ExposeAuthInfo yes
	PermitOpen none
	PermitTunnel no
	PermitUserRC no
	ForceCommand /opt/autopeer/new_user_created.sh

Match group autopeer
	PAMServiceName autopeer
	KbdInteractiveAuthentication yes
	AuthorizedKeysCommand /opt/autopeer/authorized_keys.sh %u %t %k %C
	AuthorizedKeysCommandUser root
	AuthenticationMethods publickey keyboard-interactive
	AllowAgentForwarding no
	AllowStreamLocalForwarding no
	AllowTcpForwarding no
	ExposeAuthInfo yes
	PermitOpen none
	PermitTunnel no
	PermitUserRC no
	ForceCommand /opt/autopeer/log_autopeer_shell.sh