Cloud Hosting error during connect

Hello-

I have setup cloud hosting for qrkt and receive the following error when I attempt to run docker in the cloud context.

➜ quantrocket docker --context cloud compose up -d
error during connect: Get "http://docker.example.com/v1.42/images/quantrocket/houston:2.9.0/json": command [ssh -- 108.61.191.127 docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=kex_exchange_identification: Connection closed by remote host
Connection closed by 108.61.191.127 port 22

por 443 and 80 are open. ssh login using keys is setup and working.

I can run docker --context cloud run hello-world without trouble.

Any assistance is appreciated.

It's probably this issue in Docker Compose. Please ssh to the server and run this command:

echo 'MaxStartups 500' | tee -a /etc/ssh/sshd_config && service sshd restart

You should also put the following in ~/.ssh/config:

ControlMaster     auto
ControlPath       ~/.ssh/control-%C
ControlPersist    yes

Cheers, that has resolved it.