[英]ssh: connect to host gitlab.com port 22: Connection timed out
I am trying to push my local files to remote origin getting this error message.我正在尝试将本地文件推送到远程来源,收到此错误消息。 I don't know how to resolve this please help!
我不知道如何解决这个问题请帮助!
$ 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.
Check https://status.gitlab.com/ for the status of Git Operations检查https://status.gitlab.com/了解Git 操作的状态
If GitLab is up, check the SSH connection directly:如果 GitLab 已启动,请直接检查 SSH 连接:
ssh -vvv git@gitlab.com
(you can test this with your own SSH key registered at gitlab.com) (您可以使用在 gitlab.com 注册的自己的SSH 密钥进行测试)
The debugging output here will help you in diagnosing SSH or network problems此处的调试输出将帮助您诊断 SSH 或网络问题
If this is okay, check that the version of your git
client is up-to-date, either the latest, or at least the version built and included by GitLab/Gitaly (git v2.35.1 when I write this answer).如果这没问题,请检查您的
git
客户端的版本是否是最新的,或者是最新的,或者至少是GitLab/Gitaly 构建和包含的版本(我写这个答案时是 git v2.35.1)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.