-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH is disable on v2.2 images #1
Comments
Hello, please see https://runs-on.com/reference/building-custom-ami-with-packer/ for instructions. I’ll add the link in this repo README. |
@crohr - I've followed the instructions. The issue is, with the latest AMI's packer cannot connect over SSH.
The first two are working with my packer config. The last fails at establishing an ssh connection. |
@Reregistered are you sure you have declared the user-data file with the starting of the SSH daemon? Can you share the relevant parts of your packer template? |
@crohr - This configuration works
![]() While this configuration does not
![]() The difference being the AMI in use. To investigate, I manually created EC2 instances based off of the two AMI's. In the first case, I could establish an SSH connection, in the second I received ![]() at that point I opened the issue. |
@Reregistered you are correct, for x64 it doesn't work. I had only tested with arm64. Will have a look and let you know when this is fixed. |
@crohr - I've tested again and the issue seems resolved. Thank you., |
I'm trying to create a custom AMI based on the
runs-on-v2.2-ubuntu22-full-x64
image, however SSH seems to be disabled.I can successfully connect to instances based on
runs-on-ubuntu22-full-x64
&runs-on-v2-ubuntu22-full-x64-20240324.2-1711611308
The text was updated successfully, but these errors were encountered: