summaryrefslogtreecommitdiff
path: root/sshd_config
blob: 3b5e925a43953fc12421dee31da9fe6e09832f2c (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
Match user new
	AuthorizedKeysCommand /opt/autopeer/authorized_keys.sh %u %t %k %C
	AuthorizedKeysCommandUser root
	AuthenticationMethods publickey
	AllowAgentForwarding no
	AllowStreamLocalForwarding no
	AllowTcpForwarding no
	ExposeAuthInfo yes
	PermitOpen none
	PermitTunnel no
	PermitUserRC no
	ForceCommand /opt/autopeer/new_user_created.sh

Match group autopeer
	AuthorizedKeysCommand /opt/autopeer/authorized_keys.sh %u %t %k %C
	AuthorizedKeysCommandUser root
	AuthenticationMethods publickey
	AllowAgentForwarding no
	AllowStreamLocalForwarding no
	AllowTcpForwarding no
	ExposeAuthInfo yes
	PermitOpen none
	PermitTunnel no
	PermitUserRC no
	ForceCommand /opt/autopeer/autopeer_shell.py