{"action":"created","issue":{"url":"https://api.github.com/repos/brooklyncentral/clocker/issues/96","labels_url":"https://api.github.com/repos/brooklyncentral/clocker/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/brooklyncentral/clocker/issues/96/comments","events_url":"https://api.github.com/repos/brooklyncentral/clocker/issues/96/events","html_url":"https://github.com/brooklyncentral/clocker/issues/96","id":57455808,"number":96,"title":"Cannot establish ssh connection to root @ SshMachineLocation[LocalhostMachine:oLk6:eb25-2/127.0.1.1] (publickey auth failed).","user":{"login":"emijoon","id":4420745,"avatar_url":"https://avatars.githubusercontent.com/u/4420745?v=3","gravatar_id":"","url":"https://api.github.com/users/emijoon","html_url":"https://github.com/emijoon","followers_url":"https://api.github.com/users/emijoon/followers","following_url":"https://api.github.com/users/emijoon/following{/other_user}","gists_url":"https://api.github.com/users/emijoon/gists{/gist_id}","starred_url":"https://api.github.com/users/emijoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emijoon/subscriptions","organizations_url":"https://api.github.com/users/emijoon/orgs","repos_url":"https://api.github.com/users/emijoon/repos","events_url":"https://api.github.com/users/emijoon/events{/privacy}","received_events_url":"https://api.github.com/users/emijoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T12:47:35Z","updated_at":"2015-04-22T09:41:46Z","closed_at":null,"body":"I can't run docker from clocker on my own machine (localhost).\r\nI am using: brooklyn-clocker-examples-0.4.0 \r\nWhen I run \"docker cloud\" then \"localhost\", I get error. \r\n\r\nThis is what I added to brooklyn.properties:\r\nbrooklyn.location.localhost.privateKeyFile = ~/.ssh/id_rsa\r\nbrooklyn.ssh.config.privateKeyFile = ~/.ssh/id_rsa\r\nbrooklyn.ssh.config.publicKeyFile = ~/.ssh/id_rsa.pub\r\n\r\nAnd this is what I commented:\r\n#brooklyn.location.jclouds.aws-ec2.identity = AKA_YOUR_ACCESS_KEY_ID\r\n#brooklyn.location.jclouds.aws-ec2.credential = <access-key-hex-digits>\r\n\r\nSo I don't understand if clocker is trying to \"ssh root@localhost\", because that not possible.\r\nFrom another machine I can \"ssh user@IP_address\" without password, so it seems ssh key is fine. \r\n \r\nHere is full error:\r\nFailure running task invoking start[locations] on 1 node (TTlb0wbr): All nodes in cluster DynamicClusterImpl{id=gRiCX8rp} failed; first failure is: 2 of 2 parallel child tasks failed, including: Cannot establish ssh connection to root @ SshMachineLocation[LocalhostMachine:oLk6:eb25-2/127.0.1.1] (publickey auth failed). Ensure that passwordless and passphraseless ssh access is enabled using standard keys from ~/.ssh or as configured in brooklyn.properties. Check that the target host is accessible, that credentials are correct (location and permissions if using a key), that the SFTP subsystem is available on the remote side, and that there is sufficient random noise in /dev/random on both ends. To debug less common causes, see the original error in the trace or log, and/or enable 'net.schmizz' (sshj) logging. "},"comment":{"url":"https://api.github.com/repos/brooklyncentral/clocker/issues/comments/95100336","html_url":"https://github.com/brooklyncentral/clocker/issues/96#issuecomment-95100336","issue_url":"https://api.github.com/repos/brooklyncentral/clocker/issues/96","id":95100336,"user":{"login":"dazzag24","id":1055831,"avatar_url":"https://avatars.githubusercontent.com/u/1055831?v=3","gravatar_id":"","url":"https://api.github.com/users/dazzag24","html_url":"https://github.com/dazzag24","followers_url":"https://api.github.com/users/dazzag24/followers","following_url":"https://api.github.com/users/dazzag24/following{/other_user}","gists_url":"https://api.github.com/users/dazzag24/gists{/gist_id}","starred_url":"https://api.github.com/users/dazzag24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dazzag24/subscriptions","organizations_url":"https://api.github.com/users/dazzag24/orgs","repos_url":"https://api.github.com/users/dazzag24/repos","events_url":"https://api.github.com/users/dazzag24/events{/privacy}","received_events_url":"https://api.github.com/users/dazzag24/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T09:41:46Z","updated_at":"2015-04-22T09:41:46Z","body":"Hi,\r\n\r\nI had this issue and it turned out that my key had a password.  Take a look at the potential problems section of this page as it has some steps you can take to ensure your keys are correct.\r\n\r\nhttps://brooklyn.incubator.apache.org/v/latest/ops/locations/ssh-keys.html"}}