Closed pellepelster closed 7 years ago
@pellepelster Sorry for the late reply You need to add "ssh_private_key_file" in you config file.
{
"builders":[
{
"type":"oneandone",
"disk_size":"50",
"image_name":"test_01",
"source_image_name":"ubuntu1604-64min",
"ssh_username" :"root",
"ssh_private_key_file" : "/path/to/private/ssh/key"
}
]
}
@jasminSPC please update the example to reflect the minimum template needed before marking this as resolved
@mwhooker Sorry for the late reply I've just submitted a PR with updated docs.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
When starting with the minimal template given in den 1&1 builder documentation:
the build fails with
Build 'oneandone' errored: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
. packer version is 0.12.2, a debug log of the packer run is available at https://gist.github.com/pellepelster/eae34cd7db80285452957b87926e3d59