{"action":"created","issue":{"url":"https://api.github.com/repos/mscdex/ssh2/issues/256","labels_url":"https://api.github.com/repos/mscdex/ssh2/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/mscdex/ssh2/issues/256/comments","events_url":"https://api.github.com/repos/mscdex/ssh2/issues/256/events","html_url":"https://github.com/mscdex/ssh2/issues/256","id":69025049,"number":256,"title":"How do I recover from KEY_EXCHANGE_FAILED?","user":{"login":"cressie176","id":229672,"avatar_url":"https://avatars.githubusercontent.com/u/229672?v=3","gravatar_id":"","url":"https://api.github.com/users/cressie176","html_url":"https://github.com/cressie176","followers_url":"https://api.github.com/users/cressie176/followers","following_url":"https://api.github.com/users/cressie176/following{/other_user}","gists_url":"https://api.github.com/users/cressie176/gists{/gist_id}","starred_url":"https://api.github.com/users/cressie176/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cressie176/subscriptions","organizations_url":"https://api.github.com/users/cressie176/orgs","repos_url":"https://api.github.com/users/cressie176/repos","events_url":"https://api.github.com/users/cressie176/events{/privacy}","received_events_url":"https://api.github.com/users/cressie176/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-04-16T22:52:25Z","updated_at":"2015-04-29T21:49:54Z","closed_at":null,"body":"I'm using ssh2 to stream files to sftp. All my test cases pass except for the one where I attempt to upload 1000 files using a new connection each time. The problem is that signature occasionally verification fails. Even though I'm listening for errors on the connection, I don't receive a notification and so never execute a callback. \r\n\r\n```\r\nqsftp:tests DEBUG: Checking host key format +0ms\r\nqsftp:tests DEBUG: Checking signature format +0ms\r\nqsftp:tests DEBUG: Verifying host fingerprint +0ms\r\nqsftp:tests DEBUG: Host accepted by default (no verification) +0ms\r\nqsftp:tests DEBUG: Verifying signature +6ms\r\nqsftp:tests DEBUG: Signature could not be verified +0ms\r\nqsftp:tests DEBUG: Outgoing: Writing DISCONNECT (KEY_EXCHANGE_FAILED) +0ms\r\n```\r\n\r\nIs there another event / emitter I should be listening to?\r\n"},"comment":{"url":"https://api.github.com/repos/mscdex/ssh2/issues/comments/97597842","html_url":"https://github.com/mscdex/ssh2/issues/256#issuecomment-97597842","issue_url":"https://api.github.com/repos/mscdex/ssh2/issues/256","id":97597842,"user":{"login":"cressie176","id":229672,"avatar_url":"https://avatars.githubusercontent.com/u/229672?v=3","gravatar_id":"","url":"https://api.github.com/users/cressie176","html_url":"https://github.com/cressie176","followers_url":"https://api.github.com/users/cressie176/followers","following_url":"https://api.github.com/users/cressie176/following{/other_user}","gists_url":"https://api.github.com/users/cressie176/gists{/gist_id}","starred_url":"https://api.github.com/users/cressie176/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cressie176/subscriptions","organizations_url":"https://api.github.com/users/cressie176/orgs","repos_url":"https://api.github.com/users/cressie176/repos","events_url":"https://api.github.com/users/cressie176/events{/privacy}","received_events_url":"https://api.github.com/users/cressie176/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T21:49:54Z","updated_at":"2015-04-29T21:49:54Z","body":"@litabe a problem shared is a problem halved etc etc"}}