Host key verification with ssh-keyscan


Hi there,

We seem to have an issue regarding a git clone operation performed when calling the compose command. It used to work fine until a few days.

We had added the following command to get it working:

ssh-keyscan host >> /root/.ssh/known_hosts

We now get the same error as before:

Host key verification failed.
fatal: Could not read from remote repository.

But nothing has changed on our side.

Would you have any idea what happened ?

Thanks ahead for your reply.