Can't login to ubuntu instance

asked 2016-11-27 13:14:17 -0600

jjmerelo gravatar image

I have proceeded pretty much as in the manual * Created keypair and saved it * Added port 22 to security group

openstack security group rule create default --protocol tcp --dst-port 22:22 --remote-ip
  • Created router with a public address
  • Created network and subnetwork and connected it to the router
  • Created instance connected to the subnetwork. It's an Ubuntu instance, 16.04, the default one.

However, I can't log in. Password does not seem to be set, and ssh using

ssh -i ~/.ssh/openstack-key.pem ubuntu@8.43.x.x -vvvv

just returns "connection refused". I don't know if ssh is not installed, by default, in this ubuntu image or I have to open some port somewhere, but I don't seem to find a way to do that.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-28 00:42:52 -0600

jjmerelo gravatar image

There was one step missing: assign floating IP to instance. You can only assign one floating IP in the TryStack guest account.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-27 13:14:17 -0600

Seen: 184 times

Last updated: Nov 28 '16