I installed Jenkins in our Windows Server machine and wanted to run some scripts that clones our private repo from bitbucket. In the script, all it does is to clone the repo in the appropiate directory. So in Jenkins, I created a job that executed a Windows batch command and calls that batch file. When I run it, I get the following message:
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 a3:43:35:5f:e0:cf:df:1f:33:g5:e7:a6:32:f3:f8:63
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
And there is no way I can enter y
to accept this fingerprint key. We are using putty and plink tool for our keys. Is there a way where I can specify to accept this host fingerprint key?