Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't force SSH for GitHub Enterprise #230

Closed
purinkle opened this issue Oct 20, 2014 · 1 comment
Closed

Can't force SSH for GitHub Enterprise #230

purinkle opened this issue Oct 20, 2014 · 1 comment

Comments

@purinkle
Copy link

Whenever we try and clone a repo from our GitHub Enterprise instance using

GITHUB_HOST=github.example.com gh clone organisation/my_repo

We get the following the response

Cloning into 'my_repo'...
fatal: remote error:
  GitHub private mode is enabled. Git protocol is disabled. Use authenticated http or ssh access instead.

Using the following works fine

git clone [email protected]:organisation/my_repo

Is there any way to force gh to use ssh?

@owenthereal
Copy link
Owner

This should be fixed in the latest release of hub: https://github.com/github/hub/releases/tag/v2.2.0-rc1. Note that gh has been merged with hub and will be known as GitHub CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants