-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Github Enterprise using ssh? #1612
Comments
Is that the first time you used hub? When I first used hub I had to log in (including two factor authentication). That was only for using hub, not cloning the repo, for which I also use ssh. I'm not sure if that applies to GHE |
Yes, this is the first time using hub. WIth my GHE account though we do not have the option for basic auth...it is routed through SSO so whatever credentials I put in fail. |
Try generating a Personal Access Token from your GitHub Enterprise settings (web interface) and adding something like this to your
Sorry that this is inconvenient. We will be working on trying to make this more convenient: #225 |
thanks @mislav that is good enough for me |
I was trying to use some of the extra feature like
git issue
andgit browse
but when I do so in a GHE repo it asks for username and password; however, my GHE account is restricted to only shh access. Is there a way to utilize this, or am I setting this up incorrectly?I added my GHE host name with
git config --global --add hub.host github.COMPANY.com
which added it to the .gitconfig as:
The text was updated successfully, but these errors were encountered: