regression: juju ssh dies with (publickey)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Katherine Cox-Buday | ||
1.24 |
Fix Released
|
Critical
|
Katherine Cox-Buday |
Bug Description
$ juju --version
1.24.2-vivid-amd64
$ juju ssh -e juju-ci4 juju-reports/0 -v
OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/abentley/
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Executing proxy command: exec /usr/bin/juju ssh --proxy=false --pty=false 52.0.56.106 nc 172.31.22.130 22
debug1: permanently_
debug1: identity file /home/abentley/
debug1: key_load_public: No such file or directory
debug1: identity file /home/abentley/
debug1: identity file /home/abentley/
debug1: key_load_public: No such file or directory
debug1: identity file /home/abentley/
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
Warning: Permanently added '52.0.56.106' (ECDSA) to the list of known hosts.
Permission denied (publickey).
ERROR subprocess encountered error code 255
ssh_exchange_
ERROR subprocess encountered error code 255
$ ~/canonical/
1.23.2-vivid-amd64
$ ~/canonical/
OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/abentley/
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Executing proxy command: exec /home/abentley/
debug1: permanently_
debug1: identity file /home/abentley/
debug1: key_load_public: No such file or directory
debug1: identity file /home/abentley/
debug1: identity file /home/abentley/
debug1: key_load_public: No such file or directory
debug1: identity file /home/abentley/
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
Warning: Permanently added '52.0.56.106' (ECDSA) to the list of known hosts.
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr <email address hidden> none
debug1: kex: client->server aes128-ctr <email address hidden> none
debug1: sending SSH2_MSG_
debug1: expecting SSH2_MSG_
debug1: Server host key: ECDSA c8:60:4e:
Warning: Permanently added '172.31.22.130' (ECDSA) to the list of known hosts.
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_
debug1: SSH2_MSG_
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/abentley/
debug1: Authentications that can continue: publickey
debug1: Offering RSA public key: juju-rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to 172.31.22.130 (via proxy).
debug1: channel 0: new [client-session]
debug1: Requesting <email address hidden>
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_CA.UTF-8
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-44-generic x86_64)
* Documentation: https:/
System information as of Wed Jul 8 13:54:56 UTC 2015
System load: 0.06 Processes: 82
Usage of /: 64.7% of 7.75GB Users logged in: 0
Memory usage: 21% IP address for eth0: 172.31.22.130
Swap usage: 0%
Graph this data and manage this system at:
https:/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://
166 packages can be updated.
75 updates are security updates.
*** System restart required ***
Last login: Wed Jul 8 13:54:59 2015 from ip-172-
$ ~/canonical/
1.25-alpha1-
$ ~/canonical/
OpenSSH_6.7p1 Ubuntu-5ubuntu1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /home/abentley/
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Executing proxy command: exec /home/abentley/
debug1: permanently_
debug1: identity file /home/abentley/
debug1: key_load_public: No such file or directory
debug1: identity file /home/abentley/
debug1: identity file /home/abentley/
debug1: key_load_public: No such file or directory
debug1: identity file /home/abentley/
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
Warning: Permanently added '52.0.56.106' (ECDSA) to the list of known hosts.
Permission denied (publickey).
ERROR subprocess encountered error code 255
ssh_exchange_
ERROR subprocess encountered error code 255
Changed in juju-core: | |
milestone: | 1.25.0 → none |
information type: | Private → Public |
tags: | removed: blocker |
Changed in juju-core: | |
milestone: | none → 1.25.0 |
Changed in juju-core: | |
assignee: | nobody → Katherine Cox-Buday (cox-katherine-e) |
status: | Triaged → Confirmed |
no longer affects: | juju-core/1.26 |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Note that the rsa key that succeeded is named juju-rsa, not id_rsa. AFAICT, 1.24 and 1.25 are not even attempting to use it.