Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===============================
- Attempt-1 With created Key Pair
- ===============================
- (overcloud) [stack@refarch-r220-04 ~]$ openstack floating ip list
- +--------------------------------------+---------------------+------------------+------+--------------------------------------+----------------------------------+
- | ID | Floating IP Address | Fixed IP Address | Port | Floating Network | Project |
- +--------------------------------------+---------------------+------------------+------+--------------------------------------+----------------------------------+
- | 02d989aa-eb8a-4df4-bdc0-978626200779 | 172.21.0.24 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | 2c92a28c-9ef6-4215-80b2-84d6fc5821c5 | 172.21.0.11 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | 760b5685-f85b-4b7a-96c0-bae868eccd70 | 172.21.0.21 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | fa1b6e74-c2c6-4d49-9a95-555f3448cc44 | 172.21.0.12 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- +--------------------------------------+---------------------+------------------+------+--------------------------------------+----------------------------------+
- (overcloud) [stack@refarch-r220-04 ~]$ openstack image list
- +--------------------------------------+---------------------------------+--------+
- | ID | Name | Status |
- +--------------------------------------+---------------------------------+--------+
- | 27f449ef-3138-428b-839d-e79ba8b4c7e7 | Fedora-Cloud-Base-27-1.6.x86_64 | active |
- | 9a3f7a32-4967-4c2e-b60b-434c08405704 | cirros-0.4.0-x86_64 | active |
- | de27885d-634c-470e-ab46-92df361a3a41 | rhel-server-7.5-x86_64-kvm | active |
- | c29dd802-8632-482a-86cc-e712b28a8972 | ubuntu | active |
- +--------------------------------------+---------------------------------+--------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack keypair list
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack keypair create uc-key > uc-key.pem ; chmod 600 uc-key.pem
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack keypair list
- +--------+-------------------------------------------------+
- | Name | Fingerprint |
- +--------+-------------------------------------------------+
- | uc-key | 42:8b:b0:d9:fb:b8:b2:79:4c:02:f4:67:54:c4:29:7c |
- +--------+-------------------------------------------------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack flavor list
- +--------------------------------------+------+------+------+-----------+-------+-----------+
- | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
- +--------------------------------------+------+------+------+-----------+-------+-----------+
- | b9abc9e7-0441-43f2-b3ba-bbee346ebb72 | tiny | 1024 | 10 | 0 | 1 | True |
- +--------------------------------------+------+------+------+-----------+-------+-----------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack server list
- (overcloud) [stack@refarch-r220-04 ~]$ nova list
- +----+------+--------+------------+-------------+----------+
- | ID | Name | Status | Task State | Power State | Networks |
- +----+------+--------+------------+-------------+----------+
- +----+------+--------+------------+-------------+----------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack server create --image cirros-0.4.0-x86_64 --flavor tiny --key-name uc-key --nic net-id=7c7b68d6-b2d9-46ce-a4db-5c6f9fc4de38 instance-1
- +-------------------------------------+------------------------------------------------------------+
- | Field | Value |
- +-------------------------------------+------------------------------------------------------------+
- | OS-DCF:diskConfig | MANUAL |
- | OS-EXT-AZ:availability_zone | |
- | OS-EXT-SRV-ATTR:host | None |
- | OS-EXT-SRV-ATTR:hypervisor_hostname | None |
- | OS-EXT-SRV-ATTR:instance_name | |
- | OS-EXT-STS:power_state | NOSTATE |
- | OS-EXT-STS:task_state | scheduling |
- | OS-EXT-STS:vm_state | building |
- | OS-SRV-USG:launched_at | None |
- | OS-SRV-USG:terminated_at | None |
- | accessIPv4 | |
- | accessIPv6 | |
- | addresses | |
- | adminPass | 55awxFiFFYhh |
- | config_drive | |
- | created | 2018-04-18T12:14:20Z |
- | flavor | tiny (b9abc9e7-0441-43f2-b3ba-bbee346ebb72) |
- | hostId | |
- | id | 6137e891-1d5b-40fc-8398-852cf0a949ef |
- | image | cirros-0.4.0-x86_64 (9a3f7a32-4967-4c2e-b60b-434c08405704) |
- | key_name | uc-key |
- | name | instance-1 |
- | progress | 0 |
- | project_id | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | properties | |
- | security_groups | name='default' |
- | status | BUILD |
- | updated | 2018-04-18T12:14:20Z |
- | user_id | a0b315de2ebf4350882df1601dcecd63 |
- | volumes_attached | |
- +-------------------------------------+------------------------------------------------------------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack server list
- +--------------------------------------+------------+--------+-----------------------------+---------------------+--------+
- | ID | Name | Status | Networks | Image | Flavor |
- +--------------------------------------+------------+--------+-----------------------------+---------------------+--------+
- | 6137e891-1d5b-40fc-8398-852cf0a949ef | instance-1 | ACTIVE | private_network=172.16.66.8 | cirros-0.4.0-x86_64 | tiny |
- +--------------------------------------+------------+--------+-----------------------------+---------------------+--------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack floating ip list
- +--------------------------------------+---------------------+------------------+------+--------------------------------------+----------------------------------+
- | ID | Floating IP Address | Fixed IP Address | Port | Floating Network | Project |
- +--------------------------------------+---------------------+------------------+------+--------------------------------------+----------------------------------+
- | 02d989aa-eb8a-4df4-bdc0-978626200779 | 172.21.0.24 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | 2c92a28c-9ef6-4215-80b2-84d6fc5821c5 | 172.21.0.11 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | 760b5685-f85b-4b7a-96c0-bae868eccd70 | 172.21.0.21 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | fa1b6e74-c2c6-4d49-9a95-555f3448cc44 | 172.21.0.12 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- +--------------------------------------+---------------------+------------------+------+--------------------------------------+----------------------------------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack server add floating ip instance-1 172.21.0.11
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ openstack server list
- +--------------------------------------+------------+--------+------------------------------------------+---------------------+--------+
- | ID | Name | Status | Networks | Image | Flavor |
- +--------------------------------------+------------+--------+------------------------------------------+---------------------+--------+
- | 6137e891-1d5b-40fc-8398-852cf0a949ef | instance-1 | ACTIVE | private_network=172.16.66.8, 172.21.0.11 | cirros-0.4.0-x86_64 | tiny |
- +--------------------------------------+------------+--------+------------------------------------------+---------------------+--------+
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ ping 172.21.0.11
- PING 172.21.0.11 (172.21.0.11) 56(84) bytes of data.
- 64 bytes from 172.21.0.11: icmp_seq=1 ttl=64 time=0.356 ms
- 64 bytes from 172.21.0.11: icmp_seq=2 ttl=64 time=0.289 ms
- 64 bytes from 172.21.0.11: icmp_seq=3 ttl=64 time=0.239 ms
- 64 bytes from 172.21.0.11: icmp_seq=4 ttl=64 time=0.268 ms
- ^C^C
- --- 172.21.0.11 ping statistics ---
- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms
- rtt min/avg/max/mdev = 0.239/0.288/0.356/0.043 ms
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ nc -v 172.21.0.11 22
- Ncat: Version 6.40 ( http://nmap.org/ncat )
- Ncat: Connected to 172.21.0.11:22.
- SSH-2.0-OpenSSH_7.4
- Protocol mismatch.
- ^C
- (overcloud) [stack@refarch-r220-04 ~]$ ^C
- (overcloud) [stack@refarch-r220-04 ~]$ ssh -i uc-key.pem cirros@172.21.0.11
- The authenticity of host '172.21.0.11 (172.21.0.11)' can't be established.
- ECDSA key fingerprint is SHA256:FZY8NWZ1IRqYxoSJaTgWGUUqY3BVCNllOciEKOEW/HA.
- ECDSA key fingerprint is MD5:35:9b:79:2c:6d:59:bb:c0:1f:45:2b:b1:42:eb:3f:44.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '172.21.0.11' (ECDSA) to the list of known hosts.
- cirros@172.21.0.11's password:
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ ssh -v -i uc-key.pem cirros@172.21.0.11
- OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 58: Applying options for *
- debug1: Connecting to 172.21.0.11 [172.21.0.11] port 22.
- debug1: Connection established.
- debug1: key_load_public: No such file or directory
- debug1: identity file uc-key.pem type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file uc-key.pem-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_7.4
- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
- debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
- debug1: Authenticating to 172.21.0.11:22 as 'cirros'
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: algorithm: curve25519-sha256
- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
- debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: kex: curve25519-sha256 need=64 dh_need=64
- debug1: kex: curve25519-sha256 need=64 dh_need=64
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:FZY8NWZ1IRqYxoSJaTgWGUUqY3BVCNllOciEKOEW/HA
- debug1: Host '172.21.0.11' is known and matches the ECDSA host key.
- debug1: Found key in /home/stack/.ssh/known_hosts:9
- debug1: rekey after 134217728 blocks
- debug1: SSH2_MSG_NEWKEYS sent
- debug1: expecting SSH2_MSG_NEWKEYS
- debug1: SSH2_MSG_NEWKEYS received
- debug1: rekey after 134217728 blocks
- debug1: SSH2_MSG_EXT_INFO received
- debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Next authentication method: gssapi-keyex
- debug1: No valid Key exchange context
- debug1: Next authentication method: gssapi-with-mic
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Next authentication method: publickey
- debug1: Trying private key: uc-key.pem
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Next authentication method: password
- cirros@172.21.0.11's password:
- ==============================================================
- Please seee cirros-key Image File attached in the email
- ==============================================================
- ===============================
- Attempt-2 With Imported Key Pair
- ===============================
- (overcloud) [stack@refarch-r220-04 ~]$ mkdir temp
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$
- (overcloud) [stack@refarch-r220-04 ~]$ cd temp
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ ssh-keygen -t rsa -f cloud.key
- Generating public/private rsa key pair.
- Enter passphrase (empty for no passphrase):
- Enter same passphrase again:
- Your identification has been saved in cloud.key.
- Your public key has been saved in cloud.key.pub.
- The key fingerprint is:
- SHA256:s5qVykviIvY0Kn5hG+NboovHMeYhIb2C34yiC3yKaKM stack@refarch-r220-04.front.sepia.ceph.com
- The key's randomart image is:
- +---[RSA 2048]----+
- | |
- | |
- | . |
- |o . |
- |o. . S |
- |= *= + |
- |.Oo%*.. + |
- |O+&=*+ = |
- |E@=+o *. |
- +----[SHA256]-----+
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ ls -la
- total 12
- drwxrwxr-x. 2 stack stack 44 Apr 18 08:26 .
- drwx------. 18 stack stack 4096 Apr 18 08:25 ..
- -rw-------. 1 stack stack 1679 Apr 18 08:26 cloud.key
- -rw-r--r--. 1 stack stack 424 Apr 18 08:26 cloud.key.pub
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ openstack keypair create --public-key cloud.key.pub cloud-key
- +-------------+-------------------------------------------------+
- | Field | Value |
- +-------------+-------------------------------------------------+
- | fingerprint | 78:c3:ea:77:f0:21:30:8f:dd:ee:a8:f1:79:86:a0:5b |
- | name | cloud-key |
- | user_id | a0b315de2ebf4350882df1601dcecd63 |
- +-------------+-------------------------------------------------+
- (overcloud) [stack@refarch-r220-04 temp]$ openstack keypair list
- +-----------+-------------------------------------------------+
- | Name | Fingerprint |
- +-----------+-------------------------------------------------+
- | cloud-key | 78:c3:ea:77:f0:21:30:8f:dd:ee:a8:f1:79:86:a0:5b |
- | uc-key | 42:8b:b0:d9:fb:b8:b2:79:4c:02:f4:67:54:c4:29:7c |
- +-----------+-------------------------------------------------+
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ cat cloud.key.pub
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0Bv8BTUOc++bBo301wf3x1mGHrc4wwNGXSg0UrLnpL/aUfmmJfFoy24DLZgmnFlI2z7qOG930aaSgUiEHWgAV7CJJUg8rQdKw1YaUAqqjuJseHR9OSXQO4x710QHefChbKLjdqY/dY02fvaUQfItmJVp1b6VKWIrdk3sj9VdlqPVvgYjnJHjJ3skIl5CJDzYXABsZsWChnL5aJ9hc09OHOpw8WL8U6RkVnEUFhoACZwaED607r9PEva5hWi5FMDZVK6eRD3SOFa4SUsbHPQk8UpM1Dwy+KPPR+tWnJW2ThojbgzcFIogXY8GRgWdQ2oT9kq66TZ76eL1FEZtE12QF stack@refarch-r220-04.front.sepia.ceph.com
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ openstack server list
- +--------------------------------------+------------+--------+------------------------------------------+---------------------+--------+
- | ID | Name | Status | Networks | Image | Flavor |
- +--------------------------------------+------------+--------+------------------------------------------+---------------------+--------+
- | 117de48d-6593-412d-becc-fce63872b697 | instance-2 | ACTIVE | private_network=172.16.66.12 | cirros-0.4.0-x86_64 | tiny |
- | 6137e891-1d5b-40fc-8398-852cf0a949ef | instance-1 | ACTIVE | private_network=172.16.66.8, 172.21.0.11 | cirros-0.4.0-x86_64 | tiny |
- +--------------------------------------+------------+--------+------------------------------------------+---------------------+--------+
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ openstack floating ip list
- +--------------------------------------+---------------------+------------------+--------------------------------------+--------------------------------------+----------------------------------+
- | ID | Floating IP Address | Fixed IP Address | Port | Floating Network | Project |
- +--------------------------------------+---------------------+------------------+--------------------------------------+--------------------------------------+----------------------------------+
- | 02d989aa-eb8a-4df4-bdc0-978626200779 | 172.21.0.24 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | 2c92a28c-9ef6-4215-80b2-84d6fc5821c5 | 172.21.0.11 | 172.16.66.8 | 6239a123-62a7-4167-9e4d-7935a377cc3f | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | 760b5685-f85b-4b7a-96c0-bae868eccd70 | 172.21.0.21 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- | fa1b6e74-c2c6-4d49-9a95-555f3448cc44 | 172.21.0.12 | None | None | cd2dbd7e-eacc-410a-9a67-6f741b05a564 | 5ab3a94b03ae4b2ba257a3f6ccc52b84 |
- +--------------------------------------+---------------------+------------------+--------------------------------------+--------------------------------------+----------------------------------+
- (overcloud) [stack@refarch-r220-04 temp]$ openstack server add floating ip instance-2 172.21.0.12
- (overcloud) [stack@refarch-r220-04 temp]$ openstack server list
- +--------------------------------------+------------+--------+-------------------------------------------+---------------------+--------+
- | ID | Name | Status | Networks | Image | Flavor |
- +--------------------------------------+------------+--------+-------------------------------------------+---------------------+--------+
- | 117de48d-6593-412d-becc-fce63872b697 | instance-2 | ACTIVE | private_network=172.16.66.12, 172.21.0.12 | cirros-0.4.0-x86_64 | tiny |
- | 6137e891-1d5b-40fc-8398-852cf0a949ef | instance-1 | ACTIVE | private_network=172.16.66.8, 172.21.0.11 | cirros-0.4.0-x86_64 | tiny |
- +--------------------------------------+------------+--------+-------------------------------------------+---------------------+--------+
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ ping 172.21.0.12
- PING 172.21.0.12 (172.21.0.12) 56(84) bytes of data.
- 64 bytes from 172.21.0.12: icmp_seq=1 ttl=64 time=0.293 ms
- 64 bytes from 172.21.0.12: icmp_seq=2 ttl=64 time=0.131 ms
- ^C
- --- 172.21.0.12 ping statistics ---
- 2 packets transmitted, 2 received, 0% packet loss, time 999ms
- rtt min/avg/max/mdev = 0.131/0.212/0.293/0.081 ms
- (overcloud) [stack@refarch-r220-04 temp]$ ^C
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ nc -v 172.21.0.12 22
- Ncat: Version 6.40 ( http://nmap.org/ncat )
- Ncat: Connected to 172.21.0.12:22.
- SSH-2.0-OpenSSH_7.4
- ^C^C
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ ssh -i cloud.key cirros@172.21.0.12 -v
- OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 58: Applying options for *
- debug1: Connecting to 172.21.0.12 [172.21.0.12] port 22.
- debug1: Connection established.
- debug1: identity file cloud.key type 1
- debug1: key_load_public: No such file or directory
- debug1: identity file cloud.key-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_7.4
- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
- debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
- debug1: Authenticating to 172.21.0.12:22 as 'cirros'
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: algorithm: curve25519-sha256
- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
- debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: kex: curve25519-sha256 need=64 dh_need=64
- debug1: kex: curve25519-sha256 need=64 dh_need=64
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:8S0IQZfrpSnd6Db7ljQx+bBs9ZncMkoBeORHCVyxzMk
- The authenticity of host '172.21.0.12 (172.21.0.12)' can't be established.
- ECDSA key fingerprint is SHA256:8S0IQZfrpSnd6Db7ljQx+bBs9ZncMkoBeORHCVyxzMk.
- ECDSA key fingerprint is MD5:ac:42:ba:1b:cc:5f:1c:44:e2:49:a0:23:66:24:db:8f.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '172.21.0.12' (ECDSA) to the list of known hosts.
- debug1: rekey after 134217728 blocks
- debug1: SSH2_MSG_NEWKEYS sent
- debug1: expecting SSH2_MSG_NEWKEYS
- debug1: SSH2_MSG_NEWKEYS received
- debug1: rekey after 134217728 blocks
- debug1: SSH2_MSG_EXT_INFO received
- debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Next authentication method: gssapi-keyex
- debug1: No valid Key exchange context
- debug1: Next authentication method: gssapi-with-mic
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Unspecified GSS failure. Minor code may provide more information
- No Kerberos credentials available (default cache: KEYRING:persistent:1000)
- debug1: Next authentication method: publickey
- debug1: Offering RSA public key: cloud.key
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Next authentication method: password
- cirros@172.21.0.12's password:
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- Permission denied, please try again.
- cirros@172.21.0.12's password:
- [4]+ Stopped ssh -i cloud.key cirros@172.21.0.12 -v
- (overcloud) [stack@refarch-r220-04 temp]$
- (overcloud) [stack@refarch-r220-04 temp]$ cat cloud.key.pub
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0Bv8BTUOc++bBo301wf3x1mGHrc4wwNGXSg0UrLnpL/aUfmmJfFoy24DLZgmnFlI2z7qOG930aaSgUiEHWgAV7CJJUg8rQdKw1YaUAqqjuJseHR9OSXQO4x710QHefChbKLjdqY/dY02fvaUQfItmJVp1b6VKWIrdk3sj9VdlqPVvgYjnJHjJ3skIl5CJDzYXABsZsWChnL5aJ9hc09OHOpw8WL8U6RkVnEUFhoACZwaED607r9PEva5hWi5FMDZVK6eRD3SOFa4SUsbHPQk8UpM1Dwy+KPPR+tWnJW2ThojbgzcFIogXY8GRgWdQ2oT9kq66TZ76eL1FEZtE12QF stack@refarch-r220-04.front.sepia.ceph.com
- (overcloud) [stack@refarch-r220-04 temp]$
- ==============================================================
- Please seee cirros-key-2 Image File attached in the email, you will find that .ssh/authorized_keys file on the cirros instance is getting poupulate with the above public key
- ==============================================================
Add Comment
Please, Sign In to add comment