Welcome to the Linux Foundation Forum!

LAB3.1 ssh cirros@10.0.0.2 permission denied

Created my instance per lab 3.1 but when I try to log into it I can't authenticate.  I keep getting permission denied try again even after I double and triple check the login and password.

 


ubuntu@devstack-cc:~/devstack$
ubuntu@devstack-cc:~/devstack$ ssh cirros@10.10.129.255
The authenticity of host '10.10.129.255 (10.10.129.255)' can't be established.
ECDSA key fingerprint is b4:11:c5:32:2e:e3:6b:bf:3c:45:af:c3:79:56:d4:13.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.129.255' (ECDSA) to the list of known hosts.
cirros@10.10.129.255's password:
Permission denied, please try again.
cirros@10.10.129.255's password:
Permission denied, please try again.
cirros@10.10.129.255's password:

 

Comments

  • serewicz
    serewicz Posts: 1,000

    Hello Freddie,

    Two possibilities I can think of:

    1) The IP address is not correct. Double check that this is the IP of the instance, instead of one for the hypervisor. When you log into Horizon and go to Projects -> Instances   Is this the IP for that instance at the moment?

    2) Are you typing or copy-pasting the password? As the password ends with colon-RightParens you local system could change it to be a smile face instead. Just to double check the password is nine characters long: cubswin:)  

    If neither of these works then maybe we can set up a time when you'll be at this point in the lab and we can figure a way for me to view your instance.

    Thanks for your patience!

  • Same problems. Below is the output from when I create my instance so I'm assuming my IP=10.10.128.255, ID=cirros, PWD=cubswin  AmIRight?

     


    Arch: x86_64
    CPU(s): 1 @ 3000.062 MHz
    Cores/Sockets/Threads: 1/1/1
    Virt-type: AMD-V
    RAM Size: 49MB
    Disks:
    NAME MAJ:MIN SIZE LABEL MOUNTPOINT
    vda 253:0 25165824 cirros-rootfs /
    sr0 11:0 432128 config-2
    === sshd host keys ===
    -----BEGIN SSH HOST KEY KEYS-----
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgnCys/KhCq7wUqM4jZUHZfyCJD2vqpMTllmUdE4UDQqfb3nCz7xdqEL5ZAZhQM3pV27DeGD/bVbeYSwzzmfSRua14zR4lxhfYuiOcV4lBoMFx3LX9Eckk4yA22hK+64FnEWc2xygeURH550ARsUDLXQ5IKQwjRMQQQqCzOKEp5hbIPE= root@devos1
    ssh-dss AAAAB3NzaC1kc3MAAACBAPoDqU1BQrzNIe0iX3WDPAF42zCc4Rz/LKZccIywk8rtTyrSmQAKf+010Hgpm3HYxK7DxA08hb3TB6ioOe06MMB09ptB/ONsGMbBhXrA15ypV7AGS/2+ucPATadZLEbx5YjlaELkNUIZFFfuAxCxZ4woQTpatFVDHqnc6AelDWKdAAAAFQD/yxCx9HFGPZfZTrj8jiHi8cEWIQAAAIEAtk6QC8AbcP29agRep8NmaDJdGhCGR64DMSG14UnBjS+AP0yoUIdwr6ejP7v8FltyzA7I6y485gbWKk9n1O9mBKmN4K4BNKz0PxNWJ9Wf1z6+WpH7LkE3gw6daKz+fBPmcAY48S2pLh0A8P0XM1hy9VgCD+GYeSGITmijDHujcUQAAACAHX1WurpAzXzdhY/6C1zgrML3oqhba1FWapWWWGLMT25y4tMN7uwMaRJw6QtQ8IuNC4Gx4uudG3pycI0LxMJySpT/87qP/unFUgcAK2e8ItyntY0MvrTpSuXxyYY8lZNEJV5rIY5Mnxq29f7VJTUIRnR/EGeTmZ0jpMKh2VeFKzc= root@devos1
    -----END SSH HOST KEY KEYS-----
    === network info ===
    if-info: lo,up,127.0.0.1,8,::1
    if-info: eth0,up,10.10.128.255,20,fe80::f816:3eff:fe83:9a03
    ip-route:default via 10.10.129.255 dev eth0
    ip-route:10.10.128.0/20 dev eth0 src 10.10.128.255
    === datasource: configdrive local ===
    instance-id: 5dab82a6-7e01-4de4-a0a9-bd3279cf8e69
    name: devOS1
    availability-zone: nova
    local-hostname: devos1.novalocal
    launch-index: 0
    === cirros: current=0.3.4 uptime=22.42 ===
    ____ ____ ____
    / __/ __ ____ ____ / __ \/ __/
    / /__ / // __// __// /_/ /\ \
    \___//_//_/ /_/ \____/___/
    http://cirros-cloud.net


    login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
    devos1 login:
  • serewicz
    serewicz Posts: 1,000
    edited October 2016

    Freddie,

    I note that in your comment you have ommitted the colon and the right parents. It is c-u-b-s-w-i-n-:-)  Nine characters. In your comment you said you typed cubswin, or seven characters. 

    What, exactly, are you typing in as the password?

    If you are typing nine charaacters as the password, please double check the IP listed in the BUI. Did you check the IP from the BUI or the nova list command?  What, exactly, is the passowrd listed in the BUI?

    Regards,

     

  • serewicz
    serewicz Posts: 1,000
    edited October 2016

    I just ran the lab again, and was able to get in. I think it's that you are not typing the : and the ) at the end of the password. This is what my terminal looks like

    ubuntu@devstack-cc:~/devstack$ ssh cirros@10.10.128.255

    The authenticity of host '10.10.128.255 (10.10.128.255)' can't be established.

    RSA key fingerprint is f8:20:c5:86:c8:26:a0:f9:0a:90:6c:5f:44:b7:02:41.

    Are you sure you want to continue connecting (yes/no)? yes

    Warning: Permanently added '10.10.128.255' (RSA) to the list of known hosts.

    cirros@10.10.128.255's password:
    cubswin:)

    $ uname -a

    Linux devos1 3.2.0-80-virtual #116-Ubuntu SMP Mon Mar 23 17:28:52 UTC 2015 x86_64 GNU/Linux

    $

     

Categories

Upcoming Training