Yesterday I created the ubuntu-14.04-trusty instance 6dce7924-ed1f-463b-b343-31d5db974203 (nemobis; an instance with the same name existed in the past as well). I used Special:NovaInstance as usual.
ssh nemobis@nemobis.eqiad.wmflabs doesn't work: it asks for password. According to https://wikitech.wikimedia.org/wiki/Help:Access#Into_your-instance this might have to do with puppet not having been run yet, but it's been a day already.
| 1 | $ ssh -vi /home/federico/.ssh/id_rsa nemobis@nemobis.eqiad.wmflabs |
|---|---|
| 2 | OpenSSH_7.4p1, OpenSSL 1.0.2j-fips 26 Sep 2016 |
| 3 | debug1: Reading configuration data /home/federico/.ssh/config |
| 4 | debug1: /home/federico/.ssh/config line 32: Applying options for *.eqiad.wmflabs |
| 5 | debug1: /home/federico/.ssh/config line 35: Applying options for *.wmflabs |
| 6 | debug1: Reading configuration data /etc/ssh/ssh_config |
| 7 | debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf |
| 8 | debug1: /etc/ssh/ssh_config.d/05-redhat.conf line 2: include /etc/crypto-policies/back-ends/openssh.txt matched no files |
| 9 | debug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for * |
| 10 | debug1: Executing proxy command: exec ssh -a -W nemobis.eqiad.wmflabs:22 bastion1.eqiad.wmflabs |
| 11 | debug1: permanently_drop_suid: 1000 |
| 12 | debug1: identity file /home/federico/.ssh/id_rsa type 1 |
| 13 | debug1: key_load_public: No such file or directory |
| 14 | debug1: identity file /home/federico/.ssh/id_rsa-cert type -1 |
| 15 | debug1: Enabling compatibility mode for protocol 2.0 |
| 16 | debug1: Local version string SSH-2.0-OpenSSH_7.4 |
| 17 | debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8 |
| 18 | debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8 pat OpenSSH_6.6.1* compat 0x04000000 |
| 19 | debug1: Authenticating to nemobis.eqiad.wmflabs:22 as 'nemobis' |
| 20 | debug1: SSH2_MSG_KEXINIT sent |
| 21 | debug1: SSH2_MSG_KEXINIT received |
| 22 | debug1: kex: algorithm: curve25519-sha256@libssh.org |
| 23 | debug1: kex: host key algorithm: ecdsa-sha2-nistp256 |
| 24 | debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none |
| 25 | debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none |
| 26 | debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64 |
| 27 | debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64 |
| 28 | debug1: expecting SSH2_MSG_KEX_ECDH_REPLY |
| 29 | debug1: Server host key: ecdsa-sha2-nistp256 SHA256:UumyKsLDbRetAPCa/JkSEqTiYRVJxF0CorO5wZ91ggY |
| 30 | debug1: Host 'nemobis.eqiad.wmflabs' is known and matches the ECDSA host key. |
| 31 | debug1: Found key in /home/federico/.ssh/known_hosts:53 |
| 32 | debug1: rekey after 134217728 blocks |
| 33 | debug1: SSH2_MSG_NEWKEYS sent |
| 34 | debug1: expecting SSH2_MSG_NEWKEYS |
| 35 | debug1: SSH2_MSG_NEWKEYS received |
| 36 | debug1: rekey after 134217728 blocks |
| 37 | debug1: Skipping ssh-dss key /home/federico/.ssh/id_dsa - not in PubkeyAcceptedKeyTypes |
| 38 | debug1: SSH2_MSG_SERVICE_ACCEPT received |
| 39 | debug1: Authentications that can continue: publickey,keyboard-interactive |
| 40 | debug1: Next authentication method: publickey |
| 41 | debug1: Offering RSA public key: /home/federico/.ssh/id_rsa |
| 42 | debug1: Authentications that can continue: publickey,keyboard-interactive |
| 43 | debug1: Next authentication method: keyboard-interactive |
My keys and ssh are set up correctly. Compare what happens with another instance:
| 1 | [federico@a88x ~]$ ssh -v nemobis@dumps-1.eqiad.wmflabs |
|---|---|
| 2 | OpenSSH_7.4p1, OpenSSL 1.0.2j-fips 26 Sep 2016 |
| 3 | debug1: Reading configuration data /home/federico/.ssh/config |
| 4 | debug1: /home/federico/.ssh/config line 32: Applying options for *.eqiad.wmflabs |
| 5 | debug1: /home/federico/.ssh/config line 35: Applying options for *.wmflabs |
| 6 | debug1: Reading configuration data /etc/ssh/ssh_config |
| 7 | debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf |
| 8 | debug1: /etc/ssh/ssh_config.d/05-redhat.conf line 2: include /etc/crypto-policies/back-ends/openssh.txt matched no files |
| 9 | debug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for * |
| 10 | debug1: Executing proxy command: exec ssh -a -W dumps-1.eqiad.wmflabs:22 bastion1.eqiad.wmflabs |
| 11 | debug1: permanently_drop_suid: 1000 |
| 12 | debug1: identity file /home/federico/.ssh/id_rsa type 1 |
| 13 | debug1: key_load_public: No such file or directory |
| 14 | debug1: identity file /home/federico/.ssh/id_rsa-cert type -1 |
| 15 | debug1: identity file /home/federico/.ssh/id_dsa type 2 |
| 16 | debug1: key_load_public: No such file or directory |
| 17 | debug1: identity file /home/federico/.ssh/id_dsa-cert type -1 |
| 18 | debug1: key_load_public: No such file or directory |
| 19 | debug1: identity file /home/federico/.ssh/id_ecdsa type -1 |
| 20 | debug1: key_load_public: No such file or directory |
| 21 | debug1: identity file /home/federico/.ssh/id_ecdsa-cert type -1 |
| 22 | debug1: key_load_public: No such file or directory |
| 23 | debug1: identity file /home/federico/.ssh/id_ed25519 type -1 |
| 24 | debug1: key_load_public: No such file or directory |
| 25 | debug1: identity file /home/federico/.ssh/id_ed25519-cert type -1 |
| 26 | debug1: Enabling compatibility mode for protocol 2.0 |
| 27 | debug1: Local version string SSH-2.0-OpenSSH_7.4 |
| 28 | debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8 |
| 29 | debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8 pat OpenSSH_6.6.1* compat 0x04000000 |
| 30 | debug1: Authenticating to dumps-1.eqiad.wmflabs:22 as 'nemobis' |
| 31 | debug1: SSH2_MSG_KEXINIT sent |
| 32 | debug1: SSH2_MSG_KEXINIT received |
| 33 | debug1: kex: algorithm: curve25519-sha256@libssh.org |
| 34 | debug1: kex: host key algorithm: ecdsa-sha2-nistp256 |
| 35 | debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none |
| 36 | debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none |
| 37 | debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64 |
| 38 | debug1: kex: curve25519-sha256@libssh.org need=64 dh_need=64 |
| 39 | debug1: expecting SSH2_MSG_KEX_ECDH_REPLY |
| 40 | debug1: Server host key: ecdsa-sha2-nistp256 SHA256:mOzqp0WHr2kfsNhV+Ok3N6bj5DjQkuIViXwxwuejYsk |
| 41 | debug1: Host 'dumps-1.eqiad.wmflabs' is known and matches the ECDSA host key. |
| 42 | debug1: Found key in /home/federico/.ssh/known_hosts:44 |
| 43 | debug1: rekey after 134217728 blocks |
| 44 | debug1: SSH2_MSG_NEWKEYS sent |
| 45 | debug1: expecting SSH2_MSG_NEWKEYS |
| 46 | debug1: SSH2_MSG_NEWKEYS received |
| 47 | debug1: rekey after 134217728 blocks |
| 48 | debug1: Skipping ssh-dss key /home/federico/.ssh/id_dsa - not in PubkeyAcceptedKeyTypes |
| 49 | debug1: SSH2_MSG_SERVICE_ACCEPT received |
| 50 | debug1: Authentications that can continue: publickey |
| 51 | debug1: Next authentication method: publickey |
| 52 | debug1: Offering RSA public key: /home/federico/.ssh/id_rsa |
| 53 | debug1: Server accepts key: pkalg ssh-rsa blen 279 |
| 54 | debug1: Authentication succeeded (publickey). |
| 55 | Authenticated to dumps-1.eqiad.wmflabs (via proxy). |
| 56 | debug1: channel 0: new [client-session] |
| 57 | debug1: Requesting no-more-sessions@openssh.com |
| 58 | debug1: Entering interactive session. |
| 59 | debug1: pledge: proc |
| 60 | debug1: Sending environment. |
| 61 | debug1: Sending env LANG = it_IT.UTF-8 |
| 62 | debug1: Sending env LANGUAGE = |
| 63 | Linux dumps-1 3.13.0-100-generic #147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016 x86_64 |
| 64 | Ubuntu 14.04.5 LTS |
| 65 | The last Puppet run was at Wed Jan 18 20:04:42 UTC 2017 (28 minutes ago). |
| 66 | Last login: Sun Dec 18 08:54:33 2016 from bastion-01.bastion.eqiad.wmflabs |
| 67 | nemobis@dumps-1:~$ |