{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/2691","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/2691/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/2691/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/2691/events","html_url":"https://github.com/mitchellh/packer/issues/2691","id":103698673,"number":2691,"title":"ssh: Build 'aws-ebs' errored: Retryable error","user":{"login":"johnny-die-tulpe","id":4963359,"avatar_url":"https://avatars.githubusercontent.com/u/4963359?v=3","gravatar_id":"","url":"https://api.github.com/users/johnny-die-tulpe","html_url":"https://github.com/johnny-die-tulpe","followers_url":"https://api.github.com/users/johnny-die-tulpe/followers","following_url":"https://api.github.com/users/johnny-die-tulpe/following{/other_user}","gists_url":"https://api.github.com/users/johnny-die-tulpe/gists{/gist_id}","starred_url":"https://api.github.com/users/johnny-die-tulpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnny-die-tulpe/subscriptions","organizations_url":"https://api.github.com/users/johnny-die-tulpe/orgs","repos_url":"https://api.github.com/users/johnny-die-tulpe/repos","events_url":"https://api.github.com/users/johnny-die-tulpe/events{/privacy}","received_events_url":"https://api.github.com/users/johnny-die-tulpe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T11:00:56Z","updated_at":"2015-09-17T18:11:20Z","closed_at":null,"body":"After provisioning aws-ebs failed with exit > 0\r\n\r\nFor me its seems like related to https://github.com/mitchellh/packer/issues/2004\r\n\r\nPacker v0.8.6\r\n\r\n\r\n```\r\n==> aws-ebs: Terminating the source AWS instance...\r\n==> aws-ebs: No AMIs to cleanup\r\n==> aws-ebs: Deleting temporary keypair...\r\nBuild 'aws-ebs' errored: Retryable error: Error removing temporary script at /tmp/script_7943.sh: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\r\n\r\n==> Some builds didn't complete successfully and had errors:\r\n--> aws-ebs: Retryable error: Error removing temporary script at /tmp/script_7943.sh: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\r\n\r\n==> Builds finished but no artifacts were created.\r\n```"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/141170134","html_url":"https://github.com/mitchellh/packer/issues/2691#issuecomment-141170134","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/2691","id":141170134,"user":{"login":"carcus88","id":95110,"avatar_url":"https://avatars.githubusercontent.com/u/95110?v=3","gravatar_id":"","url":"https://api.github.com/users/carcus88","html_url":"https://github.com/carcus88","followers_url":"https://api.github.com/users/carcus88/followers","following_url":"https://api.github.com/users/carcus88/following{/other_user}","gists_url":"https://api.github.com/users/carcus88/gists{/gist_id}","starred_url":"https://api.github.com/users/carcus88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carcus88/subscriptions","organizations_url":"https://api.github.com/users/carcus88/orgs","repos_url":"https://api.github.com/users/carcus88/repos","events_url":"https://api.github.com/users/carcus88/events{/privacy}","received_events_url":"https://api.github.com/users/carcus88/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T18:11:20Z","updated_at":"2015-09-17T18:11:20Z","body":"I have a similar issue with Packver v0.8.6 as well. This used to work in previous version and now after the windows update provision script I get the following\r\n\r\n    Build 'windows-server-2012-r2-datacenter-virtualbox' errored: Retryable error: Error removing temporary script at /cygdrive/c/Users/vagrant/win-updates.ps1: Timeout during SSH handshake\r\n\r\nThe build fails even though the box is fine and a 3 hour build process is all for not. "}}