amazon-ebs builder handshake failure waiting for SSH

18 views
Skip to first unread message

Sharad Jain

unread,
Jun 27, 2022, 3:58:41 PMJun 27
to Packer
Hi Team

I am trying to build AMI and while ssh using ec2-user. It runs fine. but when i try to use ssm-user as ssh_username it fails with handshake issue.
I have already attached the instance profile with which i was able to login to ec2 on console with session manager. 

Could you please suggest what should i check.


Thanks
Sharad
Reply all
Reply to author
Forward
0 new messages