To make a long story short, I can PuTTY to an Azure VM, but Packer hangs at:

2018/05/04 20:03:15 packer: 2018/05/04 20:03:15 [INFO] Attempting SSH 
connection...
2018/05/04 20:03:15 packer: 2018/05/04 20:03:15 [DEBUG] reconnecting to TCP 
connection for SSH
2018/05/04 20:03:15 packer: 2018/05/04 20:03:15 [DEBUG] handshaking with SSH
2018/05/04 20:04:15 packer: 2018/05/04 20:04:15 [DEBUG] SSH handshake err: 
Timeout during SSH handshake

I have the "private_virtual_network_with_public_ip" attribute set to true, 
and verified that Packer is connecting to the public endpoint. I opened the 
network security group (NSG) to the world, and even tried removing it 
completely - which leaves the VM wide open. I also verified the network 
traffic flow with Azure's Network Watcher service.

I experienced this issue a couple days prior, and it was resolved by 
changing the virtual network address space. However, the address space was 
not clashing with any networks - at home, or at work. Even if there was an 
address clash, I would not be able to establish an SSH connection outside 
of Packer.

I am honestly stumped. Has someone else experienced this issue before?

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/6f0a5ded-240f-41c2-b73b-2ae2a00d50f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to