GitHub integration failing with 2017.3.4
We recently moved a project from our internal GitLabs VCS to GitHub. SSH is properly configured for GitHub in ~/.ssh/config:
Host github.com
Hostname ssh.github.com
Port 443
ProxyCommand connect -H proxy.example.com:80 %h %p
and all git operations (clone, fetch, pull, push) work fine from the Windows command line.
I have tried using the Settings -> Version Control -> GitHub to create a token and Test says that the connection is successful but repository interactions still fail from the IDE. For example, if I select the Update Project button, I get two messages:
1.) Update canceled
2.) Fetch failed: Could not read from remote repository.
I found old posts referring to "SSH Native" configuration but was unable to translate those instructions to the current version...
Anyone else have this figured out?
Please sign in to leave a comment.
Did you check https://blog.jetbrains.com/blog/2018/02/26/update-on-ssh-access-to-github-in-intellij-based-ides/ ?
It started to fail because of https://github.com/blog/2507-weak-cryptographic-standards-removed
Please check the post Serge mentioned for available options.
As for the Native configuration, the approach has not changed for a long time. Check e.g. https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000114504-Git-SHH-Private-Key-PAssPhrase
That did the trick, thanks!
https://stackoverflow.com/a/61133519/2141309