← Back to team overview

openstack team mailing list archive

Can't ssh into instance

 

Hello,

I'm having trouble sshing into the created instances. At first i was
getting the following error:

ssh -i testkey.pem root@10.1.1.3 -v
>
> OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
>
> debug1: Reading configuration data /etc/ssh/ssh_config
>
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
>
> debug1: Connecting to 10.1.1.3 [10.1.1.3] port 22.
>
> debug1: Connection established.
>
> debug1: identity file testkey.pem type -1
>
> debug1: identity file testkey.pem-cert type -1
>
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p1
>> Debian-7ubuntu1
>
> debug1: match: OpenSSH_5.8p1 Debian-7ubuntu1 pat OpenSSH*
>
> debug1: Enabling compatibility mode for protocol 2.0
>
> debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
>
> debug1: SSH2_MSG_KEXINIT sent
>
> Read from socket failed: Connection reset by peer
>
>
I then proceeded to reboot the machine and all it's services. However, now
i can't even get that far. I'm alway faced with a connection refused.

I've added the permissions for port 22 and icmp in the default security
group and i'm also able to ping the instances.

I'm using the openstack packages provided with ubuntu 12.04.

Regards,

Leander

Follow ups