Visual Builder Studio | Build Jobs | Host key verification failed | ssh_exchange_identification: Connection closed by remote host

You have a Visual builder Studio Build Job which has a step that execute and ssh or scp command to a remote host. The job has been working fine so far but, unexpectedly, it stops working with no change made to the job itself. What is happening?

If I try to connect form my laptop, same ssh command works fine. After several hours of unsuccessful tries I did the following: deleted the virtual machine associated with the build job template and created a new one.

Rationale: The VM template stores the key in known hosts, hence, if something changes in the remote host, the connection is rejected.

That’s all, hope it helps! 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.