sergiojd: The problem I have reported happens using Packer to create VirtualBox .ova images of Ubuntu Server guests. As I have said, everything works OK using the Ubuntu Server 20.04 iso (released in 2020.04), but fails with the 20.04.1, 20.04.2, 20.04.3 or 20.04.4 isos. I would say that something has changed in Ubuntu after 20.04.
seth: During the creation of the VM, Packer uses a NAT network, so I would say I can not ping the machine. The VM is created OK, I can login into the machine, but as Packer can not connect with SSH, the VM is destroyed some minutes later when Packer cancels the build. Virtualbox defines port forwarding (127.0.0.1:xxxx) and I have tried to connect the guest using WinSCP or Putty, but both can't connect neither. I send attached the log file created by VirtualBox. ** Attachment added: "packer-1-2-ubuntu-20-04-4-server-2022-03-16-10-16-50.log" https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+attachment/5569531/+files/packer-1-2-ubuntu-20-04-4-server-2022-03-16-10-16-50.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964642 Title: Packer virtualbox ssh can't connect to unattended Ubuntu 20.04.1/2/3/4 but can connect to Ubuntu 20.4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1964642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs