Ask Your Question
0

Can't ssh into instance but can ping it. [closed]

asked 2014-06-12 11:08:32 -0600

Vinoth gravatar image

I installed Icehouse in my virtualBox which is 2 node setup. Controller & network node in one VM and compute node in another VM. I used virt = qemu for launching instance inside the VM (nested vm). After configuring neutron. I launched an instance with Cirros. Now I can ping the instance from my local machine but I am unable to ssh the instance . I also getinto the instance console using horizon and checked external conectivity. I can ping external network but can't ssh into anymachine. Kindly help me with solutions.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-17 07:23:16.259462

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-13 00:41:00 -0600

Vinoth gravatar image

I found the solution.

Adding / uncommenting the following parameters in /etc/sh/ssh_conf file of client side OS solved the issue.

MACs hmac-md5,hmac-sha1,umac-64@openssh.co...

Add the above parameter in client OS( from where you gonna take ssh of openstack VMs) and also add it to VMs, if you wanna take ssh of other machines from your VM.

edit flag offensive delete link more
1

answered 2014-06-12 12:59:03 -0600

SGPJ gravatar image

In your security group; add ssh & icmp rule for both ingress & egress and then test.

edit flag offensive delete link more

Comments

Thanks for your responce, I already added port 22 to the security group. But still facing the problem. I also cross checked whether ssh service is running in both host. its in running status.

Vinoth gravatar imageVinoth ( 2014-06-13 00:10:41 -0600 )edit
0

answered 2014-06-12 11:24:49 -0600

coder gravatar image

Did you check the security group settings?

edit flag offensive delete link more

Comments

Thanks for your responce, I already added port 22 to the security group. But still facing the problem. Also cross checked whether ssh service is running in both host. its in running status.

Vinoth gravatar imageVinoth ( 2014-06-13 00:10:51 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-12 11:08:32 -0600

Seen: 1,516 times

Last updated: Jun 13 '14