{"action":"created","issue":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/704","labels_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/704/comments","events_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/704/events","html_url":"https://github.com/test-kitchen/test-kitchen/pull/704","id":70651782,"number":704,"title":"don't prompt for passwords when using public keys","user":{"login":"caboteria","id":85106,"avatar_url":"https://avatars.githubusercontent.com/u/85106?v=3","gravatar_id":"","url":"https://api.github.com/users/caboteria","html_url":"https://github.com/caboteria","followers_url":"https://api.github.com/users/caboteria/followers","following_url":"https://api.github.com/users/caboteria/following{/other_user}","gists_url":"https://api.github.com/users/caboteria/gists{/gist_id}","starred_url":"https://api.github.com/users/caboteria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caboteria/subscriptions","organizations_url":"https://api.github.com/users/caboteria/orgs","repos_url":"https://api.github.com/users/caboteria/repos","events_url":"https://api.github.com/users/caboteria/events{/privacy}","received_events_url":"https://api.github.com/users/caboteria/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/labels/Improvement","name":"Improvement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-24T10:28:26Z","updated_at":"2015-07-10T03:52:28Z","closed_at":"2015-05-08T15:45:42Z","pull_request":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/pulls/704","html_url":"https://github.com/test-kitchen/test-kitchen/pull/704","diff_url":"https://github.com/test-kitchen/test-kitchen/pull/704.diff","patch_url":"https://github.com/test-kitchen/test-kitchen/pull/704.patch"},"body":"Sometimes when an ssh server is starting up it will accept connections\r\nbut fail any authentication attempts, even ones that should be valid.\r\nBy default, the ssh client will try to prompt for a password (the\r\n\"keyboard-interactive\" authentication method) if the \"publickey\" method\r\nfails, but in our case that's not desired.  We'd prefer that the\r\nconnection attempt fail immediately, which will cause a delay and retry.\r\n\r\nThis commit sets the ssh :auth_methods option to ['publickey'] if a\r\npublic key is provided.  This prevents ssh from prompting for a password\r\nwhich will cause the connection attempt to fail and trigger a retry."},"comment":{"url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/comments/120216267","html_url":"https://github.com/test-kitchen/test-kitchen/pull/704#issuecomment-120216267","issue_url":"https://api.github.com/repos/test-kitchen/test-kitchen/issues/704","id":120216267,"user":{"login":"patcon","id":305339,"avatar_url":"https://avatars.githubusercontent.com/u/305339?v=3","gravatar_id":"","url":"https://api.github.com/users/patcon","html_url":"https://github.com/patcon","followers_url":"https://api.github.com/users/patcon/followers","following_url":"https://api.github.com/users/patcon/following{/other_user}","gists_url":"https://api.github.com/users/patcon/gists{/gist_id}","starred_url":"https://api.github.com/users/patcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patcon/subscriptions","organizations_url":"https://api.github.com/users/patcon/orgs","repos_url":"https://api.github.com/users/patcon/repos","events_url":"https://api.github.com/users/patcon/events{/privacy}","received_events_url":"https://api.github.com/users/patcon/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T03:52:28Z","updated_at":"2015-07-10T03:52:28Z","body":"Hm. Odd. I'm seeing this too when running DigitalOcean instances via travis, and i worry it will run up bills. I'll try to investigate"}}