Permission denied with submodules
Summary
When i try to run git clone --recursive git@xxxx-gitlab:xxxx-project using ssh key with passphrase it reply Permission denied error during the download of the submodules.
If i try same operation using ssh key without passphrase it work correctly and download submodules without errors.
Steps to reproduce
Create a repo with submodule, create an ssh key with passphrase, try to run git clone --recursive git@git@xxxx-gitlab:xxxx-project
It should return an error on permission during submodules download.
Try to clone same project with a key without passphrase, it should work.
Example Project
https://gitlab.com/andreafalco1991/test-bug
What is the expected correct behavior?
It should use same passphrase inserted first time or ask it again
Relevant logs and/or screenshots
Submodule 'test-submodule-bug' (git@gitlab.com:andreafalco1991/test-submodule-bug.git) registered for path 'test-submodule-bug'
Cloning into 'C:/Users/.../Desktop/test/test-bug/test-submodule-bug'...
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Output of checks
This bug happens on GitLab.com