{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1851","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1851/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1851/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1851/events","html_url":"https://github.com/rust-lang/cargo/issues/1851","id":97613069,"number":1851,"title":"Support SSH Git URLs for authenticated connections to private repositories","user":{"login":"jnicholls","id":20395,"avatar_url":"https://avatars.githubusercontent.com/u/20395?v=3","gravatar_id":"","url":"https://api.github.com/users/jnicholls","html_url":"https://github.com/jnicholls","followers_url":"https://api.github.com/users/jnicholls/followers","following_url":"https://api.github.com/users/jnicholls/following{/other_user}","gists_url":"https://api.github.com/users/jnicholls/gists{/gist_id}","starred_url":"https://api.github.com/users/jnicholls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnicholls/subscriptions","organizations_url":"https://api.github.com/users/jnicholls/orgs","repos_url":"https://api.github.com/users/jnicholls/repos","events_url":"https://api.github.com/users/jnicholls/events{/privacy}","received_events_url":"https://api.github.com/users/jnicholls/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-28T04:37:36Z","updated_at":"2015-07-31T17:44:44Z","closed_at":"2015-07-28T06:00:14Z","body":"Right now there is no way for cargo to connect to a private repository, whether or HTTPS or SSH.  I believe if the `git` Cargo.toml dependency option would support a non-URL string such as `git@github.com:user/repo` then the Git client in cargo would likely successfully connect.\r\n\r\nThis is a major hole in cargo right now; I'm forced to submodule everything which is tedious.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/126768156","html_url":"https://github.com/rust-lang/cargo/issues/1851#issuecomment-126768156","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1851","id":126768156,"user":{"login":"jnicholls","id":20395,"avatar_url":"https://avatars.githubusercontent.com/u/20395?v=3","gravatar_id":"","url":"https://api.github.com/users/jnicholls","html_url":"https://github.com/jnicholls","followers_url":"https://api.github.com/users/jnicholls/followers","following_url":"https://api.github.com/users/jnicholls/following{/other_user}","gists_url":"https://api.github.com/users/jnicholls/gists{/gist_id}","starred_url":"https://api.github.com/users/jnicholls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnicholls/subscriptions","organizations_url":"https://api.github.com/users/jnicholls/orgs","repos_url":"https://api.github.com/users/jnicholls/repos","events_url":"https://api.github.com/users/jnicholls/events{/privacy}","received_events_url":"https://api.github.com/users/jnicholls/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T17:44:44Z","updated_at":"2015-07-31T17:44:44Z","body":"This is in fact an issue.  I have my osxkeychain git credential helper setup, and my credentials are cached.  All fresh terminals authenticate seamlessly to HTTPS GitHub URLs of private repositories.  However, cargo continues to report `Unable to update https://github.com/blah/blah` both on stable and nightly cargo.\r\n\r\nPlease advise. Thanks in advance!"}}