Discussion:
[iterm2-discuss] Setup up SSH keys for github enterprise
t***@unca.edu
2018-08-09 16:52:02 UTC
Permalink
Hello, I would like to use iTerm during my workflow while in the office.
However, my company uses github enterprise which requires ssh key
validation. When i try to use git commands on iTerm, i am always prompted
for username and password. This does not work for me because i can only
read and write to repos with ssh key validation. I searched google but
found nothing, has anyone else dealt with/fixed this issue?

Thank you
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rick Hornsby
2018-08-10 16:17:10 UTC
Permalink
Post by t***@unca.edu
Hello, I would like to use iTerm during my workflow while in the office.
However, my company uses github enterprise which requires ssh key
validation. When i try to use git commands on iTerm, i am always prompted
for username and password. This does not work for me because i can only
read and write to repos with ssh key validation. I searched google but
found nothing, has anyone else dealt with/fixed this issue?
I don't think you're having an issue with iTerm2. That said, we use public
GitHub, but I have to imagine that enterprise GitHub works the same way.

My guess is that you're probably trying work with the repos over *https://*,
rather than *git://*. You might take a look at this article, especially the
section "Testing your SSH connection":

https://help.github.com/enterprise/2.14/user/articles/connecting-to-github-with-ssh/

If that all works properly, you can cd into a directory with a repo and
check the remote URL with the command

$ git remote -v

https://help.github.com/enterprise/2.14/user/articles/changing-a-remote-s-url/
for more information about changing the URL.
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...