Ssh_exchange_identification: Connection closed by remote host

You may be having DNS resolution issues and could try this to troubleshoot that.

Also, the solution to a problem that sounds very much like the one you’re experiencing is here.