ssh:连接到主机gitlab.com端口22:连接超时

ssh:连接到主机gitlab.com端口22:连接超时,git,gitlab,Git,Gitlab,我试图将本地文件推送到远程源,但收到此错误消息。我不知道如何解决这个问题,请帮助 $ git push -u origin --all ssh: connect to host gitlab.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 ex

我试图将本地文件推送到远程源,但收到此错误消息。我不知道如何解决这个问题,请帮助

$ git push -u origin --all
ssh: connect to host gitlab.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.

只需确保您拥有正确的访问权限,并且存储库存在。gitlab.com以其滞后性和不稳定性而闻名。请检查status.gitlab.com,稍后再试。