Ask Your Question
0

cannot ssh into ubuntu instance. Connection reset by peer

asked 2013-11-25 02:30:51 -0600

jamesmarkof gravatar image

Hey,

launched an instance using an Ubuntu 12.04 image. This one: http://uec-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img

The instance spawns fine, but I have no clue how to log in. I can get into a console via horizon, but I don't know the password for any account.

Based on my research, I'm supposed to ssh into the box like this: ssh ubuntu@10.0.0.3 -i keyfile.pem

The only problem is that when I try to SSH into it, I get this error: Read from socket failed: Connection reset by peer

Does anyone have any idea what's happenening or where I need to look to troubleshoot the problem?

Thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-11-25 08:10:23 -0600

rook gravatar image

Did you add a security rule in to allow SSH?

http://docs.openstack.org/network-admin/admin/content/enabling_ping_and_ssh.html

edit flag offensive delete link more
0

answered 2013-11-25 16:30:15 -0600

jamesmarkof gravatar image

The security group is default, which has a rule to allow SSH. Also, if I simply type: "telnet 10.0.0.3 22" I will get the this: Connected to 10.0.0.3. Escape character is '^]'. SSH-2.0-OpenSSH_5.1p1 Debian-5

So the connection can be established to port 22, it's something on the openSSH end on the instance.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-25 02:30:51 -0600

Seen: 1,361 times

Last updated: Nov 25 '13