We have been using packer for a while it use to work with older version of 
1.6.6 but with the latest version we were are getting error once we went 
through different channels issue is ssh go communicator is no longer 
supporting so we started using ed25519 keys.Connectivity is through bastion 
host we are using hashicorp ssh certificate proces.

Providing SSH private key and also ssh certificate but we are getting 
below.Clearly my local mac is able to connect to bastion jump host but from 
jump host its not connecting.

2023/07/17 21:23:19 packer-builder-amazon-ebs plugin: [INFO] connecting 
with SSH to host 96.112.251.140:22 through bastion at :22

2023/07/17 21:23:19 packer-builder-amazon-ebs plugin: [DEBUG] connected to 
bastion host

2023/07/17 21:23:19 packer-builder-amazon-ebs plugin: [DEBUG] attempting 
connection to destination host

2023/07/17 21:23:20 packer-builder-amazon-ebs plugin: [INFO] Attempting SSH 
connection to :22...

2023/07/17 21:23:20 packer-builder-amazon-ebs plugin: [DEBUG] reconnecting 
to TCP connection for SSH

2023/07/17 21:23:20 packer-builder-amazon-ebs plugin: [DEBUG] connected to 
bastion host

2023/07/17 21:23:20 packer-builder-amazon-ebs plugin: [DEBUG] attempting 
connection to destination host

2023/07/17 21:23:20 packer-builder-amazon-ebs plugin: [DEBUG] handshaking 
with SSH

2023/07/17 21:23:21 packer-builder-amazon-ebs plugin: [DEBUG] SSH handshake 
err: ssh: handshake failed: ssh: unable to authenticate, attempted methods 
[none publickey], no supported methods remain

2023/07/17 21:23:21 packer-builder-amazon-ebs plugin: [DEBUG] Detected 
authentication error. Increasing handshake attempts.

*==> amazon-ebs.centos7: Timeout waiting for SSH.*

-- 
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/hashicorp/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/339eb299-e605-4e21-b6ce-db859c7322e7n%40googlegroups.com.

Reply via email to