aboutsummaryrefslogtreecommitdiff
path: root/sshd_config
blob: 0ca90dc34b283086174a93bb00d8e0ee80526808 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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