boxcutter / macos

Virtual machine templates for macOS written in legacy JSON
MIT License
316 stars 65 forks source link

SSH handshake err: ssh: handshake failed: EOF #37

Open startergo opened 4 months ago

startergo commented 4 months ago

The SSH to the macos109 vmware-iso machine could not proceed. I get this log:

2024/05/21 22:32:43 packer-plugin-vmware_v1.0.11_x5.0_darwin_amd64 plugin: 2024/05/21 22:32:43 [INFO] Attempting SSH connection to 192.168.45.129:22...
2024/05/21 22:32:43 packer-plugin-vmware_v1.0.11_x5.0_darwin_amd64 plugin: 2024/05/21 22:32:43 [DEBUG] reconnecting to TCP connection for SSH
2024/05/21 22:32:43 packer-plugin-vmware_v1.0.11_x5.0_darwin_amd64 plugin: 2024/05/21 22:32:43 [DEBUG] handshaking with SSH
2024/05/21 22:32:43 packer-plugin-vmware_v1.0.11_x5.0_darwin_amd64 plugin: 2024/05/21 22:32:43 [DEBUG] SSH handshake err: ssh: handshake failed: EOF
2024/05/21 22:33:05 packer-plugin-vmware_v1.0.11_x5.0_darwin_amd64 plugin: 2024/05/21 22:33:05 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 192.168.45.129:22: i/o timeout
startergo commented 4 months ago

It works in EC but not in 10.9 nor 10.10. Please see here: https://github.com/hashicorp/packer/issues/12994#issue-2315338366