Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot SSH access to Debian cloud image 9.1.1: #67

Open
AJNOURI opened this issue Aug 4, 2017 · 1 comment
Open

Cannot SSH access to Debian cloud image 9.1.1: #67

AJNOURI opened this issue Aug 4, 2017 · 1 comment
Assignees
Labels

Comments

@AJNOURI
Copy link
Owner

AJNOURI commented Aug 4, 2017

I provisioned a Debian instance with a keypair:
nova boot --key-name mykey1 ...
chmod 600 mykey1.pem

192.168.0.191 being the floating IP:

ssh -i mykey1.pem [email protected]

Enter passphrase for key 'mykey1.pem':
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied (publickey,password).

It is asking for passphrase of the keypair, which is empty, then it asks foor the password for the user debian?

@AJNOURI AJNOURI added the nova label Aug 4, 2017
@AJNOURI AJNOURI self-assigned this Aug 4, 2017
@AJNOURI
Copy link
Owner Author

AJNOURI commented Aug 5, 2017

Same process works fine with Ubuntu xenial image:

[root@devstack1 ~(keystone_admin)]#ssh -i mykey2.pem [email protected]

Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-83-generic x86_64)

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.


# A new feature in cloud-init identified possible datasources for #
# this system as: #
# ['OpenStack', 'None'] #
# However, the datasource used was: Ec2 #
# #
# In the future, cloud-init will only attempt to use datasources that #
# are identified or specifically configured. #
# For more information see #
# https://bugs.launchpad.net/bugs/1669675 #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# After you have filed a bug, you can disable this warning by launching #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg #
# #
# #cloud-config #
# warnings: #
# dsid_missing_source: off #



# This system is using the EC2 Metadata Service, but does not appear to #
# be running on Amazon EC2 or one of cloud-init's known platforms that #
# provide a EC2 Metadata service. In the future, cloud-init may stop #
# reading metadata from the EC2 Metadata Service unless the platform can #
# be identified. #
# #
# If you are seeing this message, please file a bug against #
# cloud-init at #
# https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid #
# Make sure to include the cloud provider your instance is #
# running on. #
# #
# For more information see #
# https://bugs.launchpad.net/bugs/1660385 #
# #
# After you have filed a bug, you can disable this warning by #
# launching your instance with the cloud-config below, or #
# putting that content into #
# /etc/cloud/cloud.cfg.d/99-ec2-datasource.cfg #
# #
# #cloud-config #
# datasource: #
# Ec2: #
# strict_id: false #


Disable the warnings above by:
touch /home/ubuntu/.cloud-warnings.skip
or
touch /var/lib/cloud/instance/warnings/.skip

ubuntu@xenial1:~$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant