Permission problem on submodules

,

I have a project with a submodule.

variables:
  GIT_STRATEGY: clone
  script:
    - git submodule update --init --recursive

There is no problem cloning the main git repository, but when I try to get the submodules I get a permission problem.

$ git submodule update --init --recursive
Submodule 'lib/urlgrabber' (git@gitlab.deif.com:linux/urlgrabber.git) registered for path 'lib/urlgrabber'
Cloning into 'lib/urlgrabber'...
Host key verification failed.
fatal: Could not read from remote repository.

Project visibility is set to public for both repositories.
What have I missed to check?

Kjeld

Found the solution here: https://docs.gitlab.com/ee/ci/git_submodules.html#configuring-the-gitmodules-file
Gitlab has support for this, using HTTPS, thus I had to change the paths in .gitmodules to relative

[submodule "lib/urlgrabber"]
        path = lib/urlgrabber
-       url = git@gitlab.deif.com:linux/urlgrabber.git
+       url = ../../linux/urlgrabber.git