Problem
When using SSH host aliases to manage multiple Github accounts, IDE doesn't properly recognize these aliases, resulting in Git remote actions (clone/pull/push/fetch etc.) being disabled for associated remotes.
Cause [Optional]
This issue arises because IntelliJ IDEA's Git integration currently lacks support for resolving SSH host aliases configured in ~/.ssh/config and .git/config.
Resolution
As a workaround, consider the solutions proposed by other users in the comments of the relevant issue report:
- For example - https://youtrack.jetbrains.com/issue/IJPL-72809.
- One of the workarounds in the comments section - https://youtrack.jetbrains.com/issue/IJPL-72809/Github-with-multiple-accounts-support-ssh-alias#focus=Comments-27-4825039.0-0.
Also, vote for and follow the related issue reports to monitor developments on this feature request:
Comments
0 comments
Please sign in to leave a comment.