[OmniOS-discuss] Net::SSH::AuthenticationFailed failed when using knife-ec2 with OmniOS AMI
Alain O'Dea
alain.odea at gmail.com
Sun Nov 3 00:49:07 UTC 2013
Hi Folks:
I'm having trouble bootstrapping OmniOS instances in EC2.
Here's what I run (sanitized):
knife ec2 server create --ssh-gateway aws-bastion.example.com --region
us-east-1 --subnet subnet-12345678 --security-group-ids sg-12345678
--flavor m1.small --image ami-35eb835c --distro omnios-smartmachine
--node-name ${USER/_/.}-omnios-$(uuid)
Here's the output (sanitized):
Instance ID: i-12345678
Flavor: m1.small
Image: ami-35eb835c
Region: us-east-1
Availability Zone: us-east-1a
Security Group Ids: sg-12345678
Tags: Name: alain.odea-omnios-12345678-abcd-ef12-1234-1234567890ab
SSH Key: ssh.key.name
Waiting for instance.....................
Subnet ID: subnet-12345678
Private IP Address: 10.0.1.123
.ERROR: Net::SSH::AuthenticationFailed: Net::SSH::AuthenticationFailed
Here's my hypothesis: The OmniOS EC2 AMI brings up the SSH server
before provisioning SSH public keys.
Is there a good workaround for this or should I bring up the machine
with the EC2 API directly and use knife bootstrap after?
Thanks,
Alain
More information about the OmniOS-discuss
mailing list