简体   繁体   English

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

[英]ssh: connect to host git.ionicjs.com port 22: Connection timed out

I'm working on an Ionic application, I started by creating a new project via Ionic Dashboard. 我正在开发Ionic应用程序,首先通过Ionic Dashboard创建了一个新项目。 Later I connected my apllication using this command : ionic start --pro-id my-id . 后来,我使用以下命令连接了应用程序: ionic start --pro-id my-id

But when I try to push my code up to the dashboard using the following command : git push ionic master I Recieved this error : 但是,当我尝试使用以下命令将代码推送到仪表板时: git push ionic master我收到此错误:

ssh: connect to host git.ionicjs.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.

I tried to use http protocol instead of ssh in the config file, following th steps below : 我尝试按照以下步骤在配置文件中使用http协议而不是ssh

  1. git config --local -e
  2. url = git@git.ionicjs.com/usename/myproject.git
  3. url = https://git.ionicjs.com/usename/myproject.git

But stil have this issue : fatal: unable to access 'https://git.ionicjs.com:username/myproject.git/': Port number ended with 'b' 但是仍然有这个问题: fatal: unable to access 'https://git.ionicjs.com:username/myproject.git/': Port number ended with 'b'

Any idea to resolve this problem? 有解决这个问题的主意吗? Thank you. 谢谢。

  1. The problem with ssh is that git.ionicjs.com has 2 different IP addresses. ssh的问题在于git.ionicjs.com具有2个不同的IP地址。 One of them (35.162.243.99) has port 22 open and the other (35.162.243.97) doesn't. 其中一个(35.162.243.99)打开了端口22,而另一个(35.162.243.97)没有打开。 I recommend to report the problem to ionicjs.com. 我建议将问题报告给ionicjs.com。

  2. The correct syntax for HTTP URL is https://git.ionicjs.com/username/myproject.git , not https://git.ionicjs.com:username/myproject.git/ . HTTP URL的正确语法是https://git.ionicjs.com/username/myproject.git ,而不是https://git.ionicjs.com:username/myproject.git/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 `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:连接到主机 github.com 端口 22:连接超时致命 - How to solve this? ssh: connect to host github.com port 22: Connection timed out fatal ssh:连接到主机 gitlab.com 端口 22:连接超时 - ssh: connect to host gitlab.com port 22: Connection timed out 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 Git 克隆给出“ssh:连接到主机 github.com 端口 22:连接超时” Linux /opt 目录 Amazon EC2 实例 - Git clone gives "ssh: connect to host github.com port 22: Connection timed out" Linux /opt directory Amazon EC2 Instance 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 git 克隆失败,ssh 端口 22 连接超时 - git clone fails with ssh port 22 connection timed out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM