Skip to content
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 Time out error #1063

Closed
Rajkumarcn opened this issue Apr 25, 2014 · 2 comments
Closed

SSH Time out error #1063

Rajkumarcn opened this issue Apr 25, 2014 · 2 comments

Comments

@Rajkumarcn
Copy link

I am running on Windows 386 and getting SSH time out error, below the json and the debug trace. Not sure if this is similar to #130. Please help.

{
"variables": {
"aws_access_key": "",
"aws_secret_key": ""
},
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user aws_access_key}}",
"secret_key": "{{user aws_secret_key}}",
"region": "us-east-1",
"source_ami": "ami-bba18dd2",
"instance_type": "t1.micro",
"ssh_username": "raja",
"ssh_timeout": "3m",
"ami_name": "packer-example {{timestamp}}"
}]
}

Debug mode enabled. Builds will not be parallelized.
←[1;32mamazon-ebs output will be in this color.←[0m

←[1;32m==> amazon-ebs: Creating temporary keypair: packer 535a9e2f-0703-5ae1-e0f
6-23238ff3383a←[0m
←[0;32m amazon-ebs: Saving key for debug purposes: ec2_amazon-ebs.pem←[0m
←[1;32m==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press any key to
continue.←[0m
←[1;32m==> amazon-ebs: Creating temporary security group for this instance...←[0
m
←[1;32m==> amazon-ebs: Authorizing SSH access on the temporary security group...
←[0m
←[1;32m==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press any
key to continue.←[0m
←[1;32m==> amazon-ebs: Launching a source AWS instance...←[0m
←[0;32m amazon-ebs: Instance ID: i-ec7e86bc←[0m
←[1;32m==> amazon-ebs: Waiting for instance (i-ec7e86bc) to become ready...←[0m
←[0;32m amazon-ebs: Public DNS: ec2-54-86-106-95.compute-1.amazonaws.com←[0m
←[0;32m amazon-ebs: Public IP: 54.86.106.95←[0m
←[0;32m amazon-ebs: Private IP: 172.31.23.233←[0m
←[1;32m==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press
any key to continue.←[0m
←[1;32m==> amazon-ebs: Waiting for SSH to become available...←[0m
←[1;31m==> amazon-ebs: Error waiting for SSH: handshake failed: ssh: unable to a
uthenticate, attempted methods [none publickey], no supported methods remain←[0m

←[1;32m==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. P
ress any key to continue.←[0m

@mitchellh
Copy link
Contributor

Is this AMI setup to allow "raja" SSH access? I think this AMI only allows "ubuntu" or "root" (one or the other I forget). That is likely it.

@Rajkumarcn
Copy link
Author

Thank you.

@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants