git::ssh://******@ssh.dev.azure.com/v3/ error downloading ssh://******@ssh.dev.azure.com/v3/: C:\azp\MinGit\cmd\git.exe exited with 128: Cloning into .terraform\modules\az-mod-rg'... Host key verification failed. fatal: Could not read from remote repository.
I am trying to download terraform module from azure repository using ssh authentication in release pipeline. I am getting below error. I am able to authenticate azure devops service using ssh from selfhostedwindows agent(running as pod in AKS) tested it using "ssh -T ******@ssh.dev.azure.com". It is working fine.
But it is not working in release pipeline.
I am getting below error.
git::ssh://@ssh.dev.azure.com/v3/xxxxxxxxxxxxxxx error downloading ssh://@ssh.dev.azure.com/v3/xxxxxxxxxxxx C:\azp\MinGit\cmd\git.exe exited with 128: Cloning into .terraform\modules\az-mod-rg'...
Host key verification failed.
fatal: Could not read from remote repository.