{"action":"created","issue":{"url":"https://api.github.com/repos/capistrano/sshkit/issues/330","repository_url":"https://api.github.com/repos/capistrano/sshkit","labels_url":"https://api.github.com/repos/capistrano/sshkit/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/capistrano/sshkit/issues/330/comments","events_url":"https://api.github.com/repos/capistrano/sshkit/issues/330/events","html_url":"https://github.com/capistrano/sshkit/pull/330","id":133087658,"number":330,"title":"Provide an alternative implementation of Net::SSH::KnownHost in ssh_options","user":{"login":"byroot","id":44640,"avatar_url":"https://avatars.githubusercontent.com/u/44640?v=3","gravatar_id":"","url":"https://api.github.com/users/byroot","html_url":"https://github.com/byroot","followers_url":"https://api.github.com/users/byroot/followers","following_url":"https://api.github.com/users/byroot/following{/other_user}","gists_url":"https://api.github.com/users/byroot/gists{/gist_id}","starred_url":"https://api.github.com/users/byroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byroot/subscriptions","organizations_url":"https://api.github.com/users/byroot/orgs","repos_url":"https://api.github.com/users/byroot/repos","events_url":"https://api.github.com/users/byroot/events{/privacy}","received_events_url":"https://api.github.com/users/byroot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/capistrano/sshkit/labels/new%20feature","name":"new feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-11T21:06:17Z","updated_at":"2016-02-18T17:47:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/capistrano/sshkit/pulls/330","html_url":"https://github.com/capistrano/sshkit/pull/330","diff_url":"https://github.com/capistrano/sshkit/pull/330.diff","patch_url":"https://github.com/capistrano/sshkit/pull/330.patch"},"body":"As discussed in https://github.com/capistrano/sshkit/issues/326#issuecomment-179284023\r\nNet::SSH re-parse the known_hosts files every time it needs to lookup for a known key.\r\nThis alternative implementation parse it once and for all, and cache the result.\r\n\r\n\r\nNB: This is not complete yet, I need to also make `test_known_hosts_for_when_an_host_hash_is_recognized` pass.\r\n\r\ncc @mattbrictson @TiagoCardoso1983  "},"comment":{"url":"https://api.github.com/repos/capistrano/sshkit/issues/comments/185831184","html_url":"https://github.com/capistrano/sshkit/pull/330#issuecomment-185831184","issue_url":"https://api.github.com/repos/capistrano/sshkit/issues/330","id":185831184,"user":{"login":"byroot","id":44640,"avatar_url":"https://avatars.githubusercontent.com/u/44640?v=3","gravatar_id":"","url":"https://api.github.com/users/byroot","html_url":"https://github.com/byroot","followers_url":"https://api.github.com/users/byroot/followers","following_url":"https://api.github.com/users/byroot/following{/other_user}","gists_url":"https://api.github.com/users/byroot/gists{/gist_id}","starred_url":"https://api.github.com/users/byroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byroot/subscriptions","organizations_url":"https://api.github.com/users/byroot/orgs","repos_url":"https://api.github.com/users/byroot/repos","events_url":"https://api.github.com/users/byroot/events{/privacy}","received_events_url":"https://api.github.com/users/byroot/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T17:47:20Z","updated_at":"2016-02-18T17:47:20Z","body":"Nope. But i'll fix it"}}