{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/r10k/issues/293","repository_url":"https://api.github.com/repos/puppetlabs/r10k","labels_url":"https://api.github.com/repos/puppetlabs/r10k/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/r10k/issues/293/comments","events_url":"https://api.github.com/repos/puppetlabs/r10k/issues/293/events","html_url":"https://github.com/puppetlabs/r10k/issues/293","id":56368137,"number":293,"title":"Unspecified failure if StrictHostKeyChecking is not disabled","user":{"login":"ggeldenhuis","id":192423,"avatar_url":"https://avatars0.githubusercontent.com/u/192423?v=3","gravatar_id":"","url":"https://api.github.com/users/ggeldenhuis","html_url":"https://github.com/ggeldenhuis","followers_url":"https://api.github.com/users/ggeldenhuis/followers","following_url":"https://api.github.com/users/ggeldenhuis/following{/other_user}","gists_url":"https://api.github.com/users/ggeldenhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/ggeldenhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggeldenhuis/subscriptions","organizations_url":"https://api.github.com/users/ggeldenhuis/orgs","repos_url":"https://api.github.com/users/ggeldenhuis/repos","events_url":"https://api.github.com/users/ggeldenhuis/events{/privacy}","received_events_url":"https://api.github.com/users/ggeldenhuis/received_events","type":"User","site_admin":false},"labels":[{"id":65600488,"url":"https://api.github.com/repos/puppetlabs/r10k/labels/[category]%20git","name":"[category] git","color":"80e000","default":false},{"id":65600456,"url":"https://api.github.com/repos/puppetlabs/r10k/labels/[subsystem]%20deployment","name":"[subsystem] deployment","color":"207de5","default":false},{"id":105059852,"url":"https://api.github.com/repos/puppetlabs/r10k/labels/[subsystem]%20module","name":"[subsystem] module","color":"207de5","default":false},{"id":22228038,"url":"https://api.github.com/repos/puppetlabs/r10k/labels/[type]%20enhancement","name":"[type] enhancement","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-02-03T11:55:11Z","updated_at":"2017-05-30T07:22:52Z","closed_at":null,"body":"If r10k has not previously connected to a service it will just fail when you try and run r10k. The problem is that in the background r10k is being asked to accept the host key. This can be disabled by setting up an exception in the .ssh/config file.\n\nHost server01.example.com\n  StrictHostKeyChecking no\n  IdentityFile ~/.ssh/id_rsa_r10k\n\nHowever the error message should really be \"brought forward\" and be visible to the end user rather than just a generic error message.\n"},"comment":{"url":"https://api.github.com/repos/puppetlabs/r10k/issues/comments/304795910","html_url":"https://github.com/puppetlabs/r10k/issues/293#issuecomment-304795910","issue_url":"https://api.github.com/repos/puppetlabs/r10k/issues/293","id":304795910,"user":{"login":"bittner","id":665072,"avatar_url":"https://avatars1.githubusercontent.com/u/665072?v=3","gravatar_id":"","url":"https://api.github.com/users/bittner","html_url":"https://github.com/bittner","followers_url":"https://api.github.com/users/bittner/followers","following_url":"https://api.github.com/users/bittner/following{/other_user}","gists_url":"https://api.github.com/users/bittner/gists{/gist_id}","starred_url":"https://api.github.com/users/bittner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bittner/subscriptions","organizations_url":"https://api.github.com/users/bittner/orgs","repos_url":"https://api.github.com/users/bittner/repos","events_url":"https://api.github.com/users/bittner/events{/privacy}","received_events_url":"https://api.github.com/users/bittner/received_events","type":"User","site_admin":false},"created_at":"2017-05-30T07:22:52Z","updated_at":"2017-05-30T07:22:52Z","body":"As of an answer on the #puppet Slack channel, @rnelson0 [suggests adding the host key](https://github.com/puppetinabox/controlrepo/blob/production/r10k_installation.pp#L5-L8) in the installation process, e.g.\r\n\r\n``` puppet\r\nsshkey { 'github.com':\r\n  type => 'ssh-rsa',\r\n  key  => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==',\r\n}\r\n```\r\n\r\nSee: https://docs.puppet.com/puppet/latest/types/sshkey.html"}}
{"actor":{"display_login":"bittner"}}