Any direction or help would be appreciated.

24 views
Skip to first unread message

rakesh boinapally

unread,
Jul 17, 2023, 9:28:17 PM7/17/23
to Packer

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.

Reply all
Reply to author
Forward
0 new messages