feat: full untested ansible setup
This commit is contained in:
15
roles/backupagent/templates/backupagent-sshd-match.conf.j2
Normal file
15
roles/backupagent/templates/backupagent-sshd-match.conf.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
Match User {{ backupagent.name }}
|
||||
AuthenticationMethods publickey
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
PubkeyAuthentication yes
|
||||
PermitTTY no
|
||||
X11Forwarding no
|
||||
AllowAgentForwarding no
|
||||
AllowTcpForwarding no
|
||||
AllowStreamLocalForwarding no
|
||||
PermitTunnel no
|
||||
GatewayPorts no
|
||||
PermitUserEnvironment no
|
||||
PermitUserRC no
|
||||
PermitOpen none
|
||||
Reference in New Issue
Block a user