{"action":"created","issue":{"url":"https://api.github.com/repos/github/hub/issues/978","labels_url":"https://api.github.com/repos/github/hub/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/github/hub/issues/978/comments","events_url":"https://api.github.com/repos/github/hub/issues/978/events","html_url":"https://github.com/github/hub/issues/978","id":101052369,"number":978,"title":"Use hub pull-request with SSH","user":{"login":"tybenz","id":648260,"avatar_url":"https://avatars.githubusercontent.com/u/648260?v=3","gravatar_id":"","url":"https://api.github.com/users/tybenz","html_url":"https://github.com/tybenz","followers_url":"https://api.github.com/users/tybenz/followers","following_url":"https://api.github.com/users/tybenz/following{/other_user}","gists_url":"https://api.github.com/users/tybenz/gists{/gist_id}","starred_url":"https://api.github.com/users/tybenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tybenz/subscriptions","organizations_url":"https://api.github.com/users/tybenz/orgs","repos_url":"https://api.github.com/users/tybenz/repos","events_url":"https://api.github.com/users/tybenz/events{/privacy}","received_events_url":"https://api.github.com/users/tybenz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T16:51:31Z","updated_at":"2015-08-17T17:17:57Z","closed_at":null,"body":"I am trying to use hub with GitHub Enterprise. My company's enterprise account is set up to only use SSH keys when pulling/pushing. I think they've disabled basic auth altogether. When using `hub pull-request`, hub prompts me for my username/password for GitHub Enterprise, which I do not have. Our web portal requires a username + 2FA token. Tried to use that to no avail.\r\n\r\nIs there a way for hub to use the GitHub API and use an SSH key to authenticate itself?\r\n\r\nOr am I out of luck?"},"comment":{"url":"https://api.github.com/repos/github/hub/issues/comments/131894052","html_url":"https://github.com/github/hub/issues/978#issuecomment-131894052","issue_url":"https://api.github.com/repos/github/hub/issues/978","id":131894052,"user":{"login":"nightpool","id":233815,"avatar_url":"https://avatars.githubusercontent.com/u/233815?v=3","gravatar_id":"","url":"https://api.github.com/users/nightpool","html_url":"https://github.com/nightpool","followers_url":"https://api.github.com/users/nightpool/followers","following_url":"https://api.github.com/users/nightpool/following{/other_user}","gists_url":"https://api.github.com/users/nightpool/gists{/gist_id}","starred_url":"https://api.github.com/users/nightpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightpool/subscriptions","organizations_url":"https://api.github.com/users/nightpool/orgs","repos_url":"https://api.github.com/users/nightpool/repos","events_url":"https://api.github.com/users/nightpool/events{/privacy}","received_events_url":"https://api.github.com/users/nightpool/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T17:17:57Z","updated_at":"2015-08-17T17:17:57Z","body":"You can't auth to the API over an ssh key, but you can get a oauth token and put that into hub manually. "}}