The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

"Authentication via SSH keys failed" on submodule

Ewout Eetesonne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2019

The problem

I'm trying to add a submodule to a project but keep getting the "Launch SSH Agent" popup. It says: "Authentication via SSH keys failed, do you want to launch the SSH key agent (Pageant) and retry?". But the problem is, Pageant is already launched and my SSH is already added but it still doesn't accept my key as valid.

What I have tried:

  • Adding the repository as a submodule in a different project (WORKS)
  • Cloning the repository directly on to my desktop (WORKS)
  • Adding the submodule from a colleague's computer (WORKS)
  • Setting up a new SSH key and creating a submodule using new key
  • Changing access rights to make me admin/read only/write for the intended submodule repository and it's intended parent repository

So even when I generate a new SSH key from scratch  and try to add the submodule with the new key it does not work. Despite the key working perfectly for other repo's.

I have no idea how this can be fixed at this point and suspect it might be a bug.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Ewout Eetesonne
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2019

Somehow this was fixed, I tried a couple of things but don't know exactly which one fixed it:

  • Created a new project and added the submodule to it
  • Copy pasted the submodule url from a working project
  • Restarted pageant and added key again
TAGS
AUG Leaders

Atlassian Community Events