SSH time out when pushing code via Git in Cloud IDE
Date Published: September 29, 2023
Issue:
Sometimes when trying to push your code from the Cloud IDE to the Cloud you may encounter the following time out error:
$ git push origin updates
ssh: connect to host svn-abcd.devcloud. hosting.acquia.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Resolution:
To resolve this issue check your Git url by running the following command and compare it with Cloud UI:
$ git remote -v
In this scenario the Git URLs are not the same and you need to correct it by running the following command:
git remote set-url origin [Correct URL]
Alternatively you can run the following ACLI command: