$ ls -l .ssh total 12 -rw-r--r-- 1 juju-user juju-user 444 Jul 23 13:57 known_hosts -rw------- 1 juju-user juju-user 1679 Jul 23 13:48 staging-juju-rsa -rw------- 1 juju-user juju-user 396 Jul 23 13:48 staging-juju-rsa.pub # Test with the system juju $ juju ssh ubuntu@vivid-slave.vapour.ws -v OpenSSH_6.7p1 Ubuntu-5ubuntu1.3, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to vivid-slave.vapour.ws [15.125.67.100] port 22. debug1: Connection established. debug1: identity file /home/juju-user/.juju/ssh/juju_id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /home/juju-user/.juju/ssh/juju_id_rsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 debug1: match: OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 pat OpenSSH* compat 0x04000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA f0:e9:e2:0d:d3:ad:4a:fa:bb:b1:62:82:c3:0e:0d:c7 Warning: Permanently added 'vivid-slave.vapour.ws,15.125.67.100' (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_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/juju-user/.juju/ssh/juju_id_rsa debug1: Authentications that can continue: publickey debug1: No more authentication methods to try. Permission denied (publickey). ERROR subprocess encountered error code 255 # Test with juju from revision-build 2986, a build of 5e0b332 $ juju-2986/usr/lib/juju-1.24.6/bin/juju ssh ubuntu@vivid-slave.vapour.ws -v OpenSSH_6.7p1 Ubuntu-5ubuntu1.3, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to vivid-slave.vapour.ws [15.125.67.100] port 22. debug1: Connection established. debug1: identity file /home/juju-user/.juju/ssh/juju_id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /home/juju-user/.juju/ssh/juju_id_rsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 debug1: match: OpenSSH_6.7p1 Ubuntu-5ubuntu1.3 pat OpenSSH* compat 0x04000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr umac-64-etm@openssh.com none debug1: kex: client->server aes128-ctr umac-64-etm@openssh.com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA f0:e9:e2:0d:d3:ad:4a:fa:bb:b1:62:82:c3:0e:0d:c7 Warning: Permanently added 'vivid-slave.vapour.ws,15.125.67.100' (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_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: abentley@speedy debug1: Server accepts key: pkalg ssh-rsa blen 279 debug1: Authentication succeeded (publickey). Authenticated to vivid-slave.vapour.ws ([15.125.67.100]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_CA.UTF-8 Welcome to Ubuntu 15.04 (GNU/Linux 3.19.0-22-generic x86_64) * Documentation: https://help.ubuntu.com/ System information as of Wed Aug 19 13:37:07 UTC 2015 System load: 0.08 Users logged in: 0 Usage of /: 16.8% of 29.00GB IP address for eth0: 10.0.0.53 Memory usage: 7% IP address for virbr0: 192.168.122.1 Swap usage: 0% IP address for lxcbr0: 10.0.1.1 Processes: 111 Graph this data and manage this system at: https://landscape.canonical.com/ Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 7 packages can be updated. 7 updates are security updates. *** System restart required *** Last login: Wed Aug 19 13:34:48 2015 from 69-165-128-154.dsl.teksavvy.com ubuntu@vivid-slave:~$ exit logout debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0 debug1: channel 0: free: client-session, nchannels 1 Connection to vivid-slave.vapour.ws closed. Transferred: sent 3848, received 2992 bytes, in 65.4 seconds Bytes per second: sent 58.9, received 45.8 debug1: Exit status 0