3

I clone project with git. When I trying push/pull etc. using IntelliJ, I`ve got error "Authentication Failed". But when I use git commands in the console everything is okey and I can push, pull etc. I don't know what is the problem in IntelliJ. I tried delete and add again git in Settings, but it's not work.

xampo
  • 311
  • 1
  • 5
  • 18

1 Answers1

6

I had exactly the same issue.
Go to File -> Settings -> Version Control -> Git -> Check "Use credential helper". enter image description here

Maksym
  • 2,284
  • 3
  • 30
  • 43
  • Did not work for me either, authentication succeeds if using git from the command line though, and `id_rsa` is in the `.ssh` folder too. – Coder Guy May 16 '21 at 20:15