I have successfully configured a repo to deploy to a VM via ssh using pipelines. I am now trying to do the same for a second repo.
I have generated ssh keys on the repo, put the public key in authorised keys on the VM and added the host to known hosts on bitbucket.
This worked fine on the first repo with pipeline deploys working as expected.
For the second repo, ssh keeps failing with 'host key verification failed'.
I am using the exact same deploy step and the same VM for both repos. I have tried generating new keys and removing and re-adding the host but it hasn't helped.
The only thing I can think of is that maybe using the same known-host on two repo's for the same account is causing some issue?
@Matt Goodson were you able to resolve this issue? The scenario you've describe seems perfectly valid - if this isn't working please raise a support ticket so we can do a more thorough investigation.
Hi, yes I was eventually able to make this work. Can't remember what exactly was wrong at this point.
Regardless, I have since migrated off Pipelines to Google cloud build which is far superior! 72 times more build minutes and much faster and easier to use! Yep 3500 free build minutes a month. Actually a usable amount. Just about used up all my free minutes on Pipelines just configuring the thing. The rest was taken up in about 10 builds from totally unpredictable build times.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.