On Friday, January 18, 2013 at 09:59, Cassiano Leal wrote:
Hello,I'm trying to create an EC2 instance via knife ec2 create. The command I'm using is:knife ec2 server create -Z sa-east-1b -N inst_name -f c1.medium -I ami-c819c0d5 -r "role[role1],role[role2]" -g sg-XXXXXXXX -S ssh_key_name -x ubuntu -i ~/.ssh/ssh_key_name.pemThe AMI is the base Ubuntu AMI 12.04 for the region.When I fire up that command, the instance is loaded up, but it fails to authenticate and asks for a password. If I try to SSH directly from the terminal, it works.I checked /var/log/auth.log and found this:Jan 18 11:39:09 ip-10-252-130-183 sshd[733]: Did not receive identification string from XXX.XXX.XXX.XXXJan 18 11:39:09 ip-10-252-130-183 sshd[1096]: reverse mapping checking getaddrinfo for XXX.XXX.XXX.XXX.static.gvt.net.br [XXX.XXX.XXX.XXX] failed - POSSIBLE BREAK-IN ATTEMPT!Jan 18 11:39:09 ip-10-252-130-183 sshd[1096]: Connection closed by XXX.XXX.XXX.XXX [preauth]What's going on, and why does it work using SSH directly but not via knife-ec2?Thanks,- cassiano
Archive powered by MHonArc 2.6.16.