Unable to ssh openstack instance

Lenny Verkhovsky lennyb at mellanox.com
Thu Jul 18 07:40:02 UTC 2019


Hi,
You need to create public ip, add it to network port and try to ssh to the image

# openstack floating ip create public
# openstack floating ip set --port <portid>  <floating ip>

Best Regards
Lenny

From: Manula Thantriwatte <manulachathurika at gmail.com>
Sent: Thursday, July 18, 2019 10:28 AM
To: openstack-discuss <openstack-discuss at lists.openstack.org>
Subject: Unable to ssh openstack instance

Hi All,

I'm trying to ssh openstack image I have created using cirros image. But I'm getting following error.

ssh: connect to host 172.24.4.147 port 22: No route to host

But when I go to the instance console I'm able to login.

For the security groups I have enable port 22.

I have associated floating IP as well.

How to resolve this?

Thanks !

--
Regards,
Manula Chathurika Thantriwatte
phone : (+94) 772492511
email : manulachathurika at gmail.com<mailto:manulachathurika at gmail.com>
Linkedin : http://lk.linkedin.com/in/manulachathurika<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flk.linkedin.com%2Fin%2Fmanulachathurika&data=02%7C01%7Clennyb%40mellanox.com%7C9738bf5a50d1415d9c8d08d70b520612%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990319221362361&sdata=0Ocn%2FUmAc1dWsZXyTooDt%2FSdJfIuqNXXlN3tcuVNXrE%3D&reserved=0>
blog : http://manulachathurika.blogspot.com/<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmanulachathurika.blogspot.com%2F&data=02%7C01%7Clennyb%40mellanox.com%7C9738bf5a50d1415d9c8d08d70b520612%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636990319221372359&sdata=3k2mci7x0diwBG7zNbHD1wU1%2FUDEVciIwlmFH%2FW2KHc%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190718/8115743c/attachment-0001.html>


More information about the openstack-discuss mailing list