Ask Your Question

Which password shoud I use to login in newly created instances?

asked 2014-12-28 18:48:36 -0500

samcy gravatar image

updated 2014-12-31 12:56:24 -0500

smaffulli gravatar image

i have logged in openstack dashboard and created an instance successfully .While creating an instance provided the adim password and confirm password . falavour as large ,instance boot source as OL-DBaas and security as default .

When i login to console its asking the id and password and provided the password which i have used while creating the instance ,but its saying as wrong password.

How to get the console password for the instance ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-02 07:33:48 -0500

dbaxps gravatar image

Via libguestfs-tools ( view )
You can cat /etc/cloud/cloud.cfg and see default user-name (ubuntu,fedora,centos,cloud-user,....). If instance was launched with ssh key pair oskey.pem ( for instance), then login (with no password) :

$ ssh -i oskey.pem default-user-name@floating-ip
edit flag offensive delete link more

answered 2015-01-02 01:45:22 -0500

Vinoth gravatar image

Users can only ssh to the instance by using the admin password if:

The virtual machine image is a Linux distribution

The virtual machine has been configured to allow users to ssh as the root user. This is not the case for Ubuntu cloud images, which disallow ssh to the root account by default.


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-28 18:48:36 -0500

Seen: 4,683 times

Last updated: Jan 02 '15