How do I connect IntelliJ to GitHub using SSH

前端 未结 5 1957
后悔当初
后悔当初 2020-12-28 16:25

I have successfully configured my GitHub client to use SSH, and received the confirmatory email from GitHub that a new SSH key was added. I would like to setup IntelliJ to u

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 16:44

    The answer above by kukido seems to now be out of date; the IntelliJ UI no longer provides the same level of access to the github URL. And, the default "built-in" (to IntelliJ) ssh executable seems to not respect the .ssh/config file settings. What I have found now works is to switch from using the built-in ssh executable to the "native" ssh executable. This is done by visiting Settings... | Version Control | Gitand then choosing Native in the SSH executable pulldown menu.

    This applies to IntelliJ version 2016.2 and I'm pretty sure earlier versions such as 2016.1 and the 2015 series.

提交回复
热议问题