diff --git a/terraform/modules/docker-network/templates/scripts/ssh-setup.sh.tftpl b/terraform/modules/docker-network/templates/scripts/ssh-setup.sh.tftpl index cf3c8d8..372b366 100644 --- a/terraform/modules/docker-network/templates/scripts/ssh-setup.sh.tftpl +++ b/terraform/modules/docker-network/templates/scripts/ssh-setup.sh.tftpl @@ -7,4 +7,4 @@ sed -i -e '/^\(#\|\)MaxAuthTries/s/^.*$/MaxAuthTries 2/' /etc/ssh/sshd_config sed -i -e '/^\(#\|\)AllowTcpForwarding/s/^.*$/AllowTcpForwarding no/' /etc/ssh/sshd_config sed -i -e '/^\(#\|\)AllowAgentForwarding/s/^.*$/AllowAgentForwarding no/' /etc/ssh/sshd_config sed -i -e '/^\(#\|\)AuthorizedKeysFile/s/^.*$/AuthorizedKeysFile .ssh\/authorized_keys/' /etc/ssh/sshd_config -sed -i '$a AllowUsers ${admin_user} terraform' /etc/ssh/sshd_config \ No newline at end of file +sed -i '$a AllowUsers ${admin_user} terraform github' /etc/ssh/sshd_config \ No newline at end of file