简体   繁体   English

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

[英]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.
  1. Check https://status.gitlab.com/ for the status of Git Operations检查https://status.gitlab.com/了解Git 操作的状态

  2. 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 或网络问题

  3. 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.

相关问题 ssh:连接到主机 gitlab.com 端口 22:网络不可达 - ssh: connect to host gitlab.com port 22: Network is unreachable `ssh:连接到主机 ssh.dev.azure.com 端口 22:连接超时`错误 - `ssh: connect to host ssh.dev.azure.com port 22: Connection timed out` error ssh:连接到主机端口 22:连接超时 - ssh: connect to host port 22: Connection timed out ssh:连接到主机git.ionicjs.com端口22:连接超时 - ssh: connect to host git.ionicjs.com port 22: Connection timed out 如何解决这个问题? ssh:连接到主机 github.com 端口 22:连接超时致命 - How to solve this? ssh: connect to host github.com port 22: Connection timed out fatal npm 安装错误:ssh:连接到主机 github.com 端口 22:连接超时 - npm install error: ssh: connect to host github.com port 22: Connection timed out ssh:连接到主机 github.com 端口 22:连接超时 - ssh: connect to host github.com port 22: Connection timed out SSH 克隆 Gitlab 连接到主机 HOSTNAME 端口 22:连接超时 - SSH Clone Gitlab connection to host HOSTNAME port 22: Connection timed out ssh:连接到主机 github.com 端口 22:连接超时致命:无法从远程存储库读取 - ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository ssh:连接到主机 bitbucket.org 端口 22:连接超时 - ssh: connect to host bitbucket.org port 22: Connection timed out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM