Private submodules, SSH keys and Host key verification failed

PLEASE help us help you by writing a good post!

  • we need to know your netlify site name. Example:
  • DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
  • Build problems? Link or paste the FULL build log & build settings screenshot

The better the post - the faster the answer.


I’ve 4 sites which need to access a submodule (also a Netlify site), but it’s impossible.

I added git submodule update --remote --recursive to the build command, copied the public key to BitBucket and… Nothing worked. I recreated the public key, which broke the builds, updated the keys in both repositiories and… Still nothing.

What else I need to do?

One of the sites is vigilant-newton-485906.

Thank you!

hi there, is this still not working?

these two might be helpful: