git with IntelliJ IDEA: Could not read from remote repository

前端 未结 30 2298
夕颜
夕颜 2020-12-07 08:11

Since a few weeks, I\'m not able to pull or push from or to the remote repository. I thought it happend when upgrading to IntelliJ IDEA 14, but I can reproduce the problem w

30条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 08:36

    IntelliJ's built-in SSH client seems to hash its known_hosts, but the one I had had its host names in clear text.

    When I deleted the file and let IntelliJ create a new one, with only my (hashed) GitLab server and nothing else, it worked.

    It's also not possible to mix it - keep some unhashed entries together with hashed entries for IntelliJ. So, you have to configure your other SSH clients to use hashed hosts.

提交回复
热议问题