{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/1","id":33751598,"html_url":"https://github.com/Antiarchitect/net-ssh/pull/1","diff_url":"https://github.com/Antiarchitect/net-ssh/pull/1.diff","patch_url":"https://github.com/Antiarchitect/net-ssh/pull/1.patch","issue_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/1","number":1,"state":"closed","locked":false,"title":"Fix ArgumentError: Could not parse PKey: no start line","user":{"login":"Antiarchitect","id":50209,"avatar_url":"https://avatars.githubusercontent.com/u/50209?v=3","gravatar_id":"","url":"https://api.github.com/users/Antiarchitect","html_url":"https://github.com/Antiarchitect","followers_url":"https://api.github.com/users/Antiarchitect/followers","following_url":"https://api.github.com/users/Antiarchitect/following{/other_user}","gists_url":"https://api.github.com/users/Antiarchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/Antiarchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antiarchitect/subscriptions","organizations_url":"https://api.github.com/users/Antiarchitect/orgs","repos_url":"https://api.github.com/users/Antiarchitect/repos","events_url":"https://api.github.com/users/Antiarchitect/events{/privacy}","received_events_url":"https://api.github.com/users/Antiarchitect/received_events","type":"User","site_admin":false},"body":"Capistrano 2.15.5 and net-ssh 2.9.3.beta1 and standart linux pub/pkey locations:\r\n~/.ssh/id_rsa\r\n~/.ssh/id_rsa.pub\r\n\r\nCapistrano fails with ArgumentError: Could not parse PKey\r\n\r\nAfter some time of exploration I've found that for this situation public key is checked first and `:load_from => :pubkey_file` identity appears. After that I'm totally cannot understand how `:pubkey_branch` works in load identities - there is no setting of private key at all. So it's just a workaround for my situation, but it definetly can be done better with help of people that know the internals.","created_at":"2015-04-21T11:21:37Z","updated_at":"2015-04-21T11:23:03Z","closed_at":"2015-04-21T11:23:03Z","merged_at":null,"merge_commit_sha":"38ef052d832f3df1190ab27f5825bd58ca26e3c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/1/comments","statuses_url":"https://api.github.com/repos/Antiarchitect/net-ssh/statuses/6f89d110ba4162e77767c938cc12294501ea5c06","head":{"label":"Antiarchitect:Antiarchitect-could-not-parse-pkey-workaround","ref":"Antiarchitect-could-not-parse-pkey-workaround","sha":"6f89d110ba4162e77767c938cc12294501ea5c06","user":{"login":"Antiarchitect","id":50209,"avatar_url":"https://avatars.githubusercontent.com/u/50209?v=3","gravatar_id":"","url":"https://api.github.com/users/Antiarchitect","html_url":"https://github.com/Antiarchitect","followers_url":"https://api.github.com/users/Antiarchitect/followers","following_url":"https://api.github.com/users/Antiarchitect/following{/other_user}","gists_url":"https://api.github.com/users/Antiarchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/Antiarchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antiarchitect/subscriptions","organizations_url":"https://api.github.com/users/Antiarchitect/orgs","repos_url":"https://api.github.com/users/Antiarchitect/repos","events_url":"https://api.github.com/users/Antiarchitect/events{/privacy}","received_events_url":"https://api.github.com/users/Antiarchitect/received_events","type":"User","site_admin":false},"repo":{"id":34322249,"name":"net-ssh","full_name":"Antiarchitect/net-ssh","owner":{"login":"Antiarchitect","id":50209,"avatar_url":"https://avatars.githubusercontent.com/u/50209?v=3","gravatar_id":"","url":"https://api.github.com/users/Antiarchitect","html_url":"https://github.com/Antiarchitect","followers_url":"https://api.github.com/users/Antiarchitect/followers","following_url":"https://api.github.com/users/Antiarchitect/following{/other_user}","gists_url":"https://api.github.com/users/Antiarchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/Antiarchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antiarchitect/subscriptions","organizations_url":"https://api.github.com/users/Antiarchitect/orgs","repos_url":"https://api.github.com/users/Antiarchitect/repos","events_url":"https://api.github.com/users/Antiarchitect/events{/privacy}","received_events_url":"https://api.github.com/users/Antiarchitect/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Antiarchitect/net-ssh","description":"Pure Ruby implementation of an SSH (protocol 2) client","fork":true,"url":"https://api.github.com/repos/Antiarchitect/net-ssh","forks_url":"https://api.github.com/repos/Antiarchitect/net-ssh/forks","keys_url":"https://api.github.com/repos/Antiarchitect/net-ssh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Antiarchitect/net-ssh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Antiarchitect/net-ssh/teams","hooks_url":"https://api.github.com/repos/Antiarchitect/net-ssh/hooks","issue_events_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/events{/number}","events_url":"https://api.github.com/repos/Antiarchitect/net-ssh/events","assignees_url":"https://api.github.com/repos/Antiarchitect/net-ssh/assignees{/user}","branches_url":"https://api.github.com/repos/Antiarchitect/net-ssh/branches{/branch}","tags_url":"https://api.github.com/repos/Antiarchitect/net-ssh/tags","blobs_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/refs{/sha}","trees_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Antiarchitect/net-ssh/statuses/{sha}","languages_url":"https://api.github.com/repos/Antiarchitect/net-ssh/languages","stargazers_url":"https://api.github.com/repos/Antiarchitect/net-ssh/stargazers","contributors_url":"https://api.github.com/repos/Antiarchitect/net-ssh/contributors","subscribers_url":"https://api.github.com/repos/Antiarchitect/net-ssh/subscribers","subscription_url":"https://api.github.com/repos/Antiarchitect/net-ssh/subscription","commits_url":"https://api.github.com/repos/Antiarchitect/net-ssh/commits{/sha}","git_commits_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/commits{/sha}","comments_url":"https://api.github.com/repos/Antiarchitect/net-ssh/comments{/number}","issue_comment_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/comments{/number}","contents_url":"https://api.github.com/repos/Antiarchitect/net-ssh/contents/{+path}","compare_url":"https://api.github.com/repos/Antiarchitect/net-ssh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Antiarchitect/net-ssh/merges","archive_url":"https://api.github.com/repos/Antiarchitect/net-ssh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Antiarchitect/net-ssh/downloads","issues_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues{/number}","pulls_url":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls{/number}","milestones_url":"https://api.github.com/repos/Antiarchitect/net-ssh/milestones{/number}","notifications_url":"https://api.github.com/repos/Antiarchitect/net-ssh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Antiarchitect/net-ssh/labels{/name}","releases_url":"https://api.github.com/repos/Antiarchitect/net-ssh/releases{/id}","created_at":"2015-04-21T11:12:05Z","updated_at":"2015-04-21T11:12:06Z","pushed_at":"2015-04-21T11:21:38Z","git_url":"git://github.com/Antiarchitect/net-ssh.git","ssh_url":"git@github.com:Antiarchitect/net-ssh.git","clone_url":"https://github.com/Antiarchitect/net-ssh.git","svn_url":"https://github.com/Antiarchitect/net-ssh","homepage":"http://net-ssh.github.com/net-ssh","size":5921,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Antiarchitect:master","ref":"master","sha":"3ed5b1963c1aafbb1ec239b5a0a20cc57ea92194","user":{"login":"Antiarchitect","id":50209,"avatar_url":"https://avatars.githubusercontent.com/u/50209?v=3","gravatar_id":"","url":"https://api.github.com/users/Antiarchitect","html_url":"https://github.com/Antiarchitect","followers_url":"https://api.github.com/users/Antiarchitect/followers","following_url":"https://api.github.com/users/Antiarchitect/following{/other_user}","gists_url":"https://api.github.com/users/Antiarchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/Antiarchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antiarchitect/subscriptions","organizations_url":"https://api.github.com/users/Antiarchitect/orgs","repos_url":"https://api.github.com/users/Antiarchitect/repos","events_url":"https://api.github.com/users/Antiarchitect/events{/privacy}","received_events_url":"https://api.github.com/users/Antiarchitect/received_events","type":"User","site_admin":false},"repo":{"id":34322249,"name":"net-ssh","full_name":"Antiarchitect/net-ssh","owner":{"login":"Antiarchitect","id":50209,"avatar_url":"https://avatars.githubusercontent.com/u/50209?v=3","gravatar_id":"","url":"https://api.github.com/users/Antiarchitect","html_url":"https://github.com/Antiarchitect","followers_url":"https://api.github.com/users/Antiarchitect/followers","following_url":"https://api.github.com/users/Antiarchitect/following{/other_user}","gists_url":"https://api.github.com/users/Antiarchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/Antiarchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antiarchitect/subscriptions","organizations_url":"https://api.github.com/users/Antiarchitect/orgs","repos_url":"https://api.github.com/users/Antiarchitect/repos","events_url":"https://api.github.com/users/Antiarchitect/events{/privacy}","received_events_url":"https://api.github.com/users/Antiarchitect/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Antiarchitect/net-ssh","description":"Pure Ruby implementation of an SSH (protocol 2) client","fork":true,"url":"https://api.github.com/repos/Antiarchitect/net-ssh","forks_url":"https://api.github.com/repos/Antiarchitect/net-ssh/forks","keys_url":"https://api.github.com/repos/Antiarchitect/net-ssh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Antiarchitect/net-ssh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Antiarchitect/net-ssh/teams","hooks_url":"https://api.github.com/repos/Antiarchitect/net-ssh/hooks","issue_events_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/events{/number}","events_url":"https://api.github.com/repos/Antiarchitect/net-ssh/events","assignees_url":"https://api.github.com/repos/Antiarchitect/net-ssh/assignees{/user}","branches_url":"https://api.github.com/repos/Antiarchitect/net-ssh/branches{/branch}","tags_url":"https://api.github.com/repos/Antiarchitect/net-ssh/tags","blobs_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/refs{/sha}","trees_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Antiarchitect/net-ssh/statuses/{sha}","languages_url":"https://api.github.com/repos/Antiarchitect/net-ssh/languages","stargazers_url":"https://api.github.com/repos/Antiarchitect/net-ssh/stargazers","contributors_url":"https://api.github.com/repos/Antiarchitect/net-ssh/contributors","subscribers_url":"https://api.github.com/repos/Antiarchitect/net-ssh/subscribers","subscription_url":"https://api.github.com/repos/Antiarchitect/net-ssh/subscription","commits_url":"https://api.github.com/repos/Antiarchitect/net-ssh/commits{/sha}","git_commits_url":"https://api.github.com/repos/Antiarchitect/net-ssh/git/commits{/sha}","comments_url":"https://api.github.com/repos/Antiarchitect/net-ssh/comments{/number}","issue_comment_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/comments{/number}","contents_url":"https://api.github.com/repos/Antiarchitect/net-ssh/contents/{+path}","compare_url":"https://api.github.com/repos/Antiarchitect/net-ssh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Antiarchitect/net-ssh/merges","archive_url":"https://api.github.com/repos/Antiarchitect/net-ssh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Antiarchitect/net-ssh/downloads","issues_url":"https://api.github.com/repos/Antiarchitect/net-ssh/issues{/number}","pulls_url":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls{/number}","milestones_url":"https://api.github.com/repos/Antiarchitect/net-ssh/milestones{/number}","notifications_url":"https://api.github.com/repos/Antiarchitect/net-ssh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Antiarchitect/net-ssh/labels{/name}","releases_url":"https://api.github.com/repos/Antiarchitect/net-ssh/releases{/id}","created_at":"2015-04-21T11:12:05Z","updated_at":"2015-04-21T11:12:06Z","pushed_at":"2015-04-21T11:21:38Z","git_url":"git://github.com/Antiarchitect/net-ssh.git","ssh_url":"git@github.com:Antiarchitect/net-ssh.git","clone_url":"https://github.com/Antiarchitect/net-ssh.git","svn_url":"https://github.com/Antiarchitect/net-ssh","homepage":"http://net-ssh.github.com/net-ssh","size":5921,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/1"},"html":{"href":"https://github.com/Antiarchitect/net-ssh/pull/1"},"issue":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/1"},"comments":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Antiarchitect/net-ssh/statuses/6f89d110ba4162e77767c938cc12294501ea5c06"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":4,"changed_files":1}}