cannot ssh into ubuntu instance. Connection reset by peer

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

jamesmarkof gravatar image


launched an instance using an Ubuntu 12.04 image. This one:

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@ -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?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

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

rook gravatar image

Did you add a security rule in to allow SSH?

edit flag offensive delete link more

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 22" I will get the this: Connected to 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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 1,524 times

Last updated: Nov 25 '13