joeminicucci / RedIra

A cloud automation system for Red Teams based on Terraform and Ansible
GNU General Public License v3.0
24 stars 4 forks source link

Timeout error with remote-exec provisioner #1

Open s1nglethr3ad opened 1 year ago

s1nglethr3ad commented 1 year ago

I keep encountering this error with module.infra-cs-dns-c2 and module.infra-cs-http-c2.

│ Error: remote-exec provisioner error
│
│   with module.infra-cs-dns-c2[0].module.dns-c2.aws_instance.dns-c2,
│   on modules/aws/dns-c2/main.tf line 32, in resource "aws_instance" "dns-c2":
│   32:   provisioner "remote-exec" {
│
│ timeout - last error: dial tcp 192.168.1.136:22: i/o timeout
│ Error: remote-exec provisioner error
│
│   with module.infra-cs-http-c2[0].module.http-c2.aws_instance.http-c2,
│   on modules/aws/http-c2/main.tf line 33, in resource "aws_instance" "http-c2":
│   33:   provisioner "remote-exec" {
│
│ timeout - last error: dial tcp 192.168.1.139:22: i/o timeout

I cannot seem to narrow down the issue. Any words of wisdom? Thanks!

null-event commented 1 year ago

For what it's worth, I'm encountering the same set of issues as @s1nglethr3ad (both the issues raised here and the one raised in the other open issue regarding the TXT record return).