【发布时间】:2018-09-20 09:35:43
【问题描述】:
我正在使用 gcloud App Engine 并想使用 Google Cloud Shell 从我的私有 git 服务器 克隆一个 git 存储库,但是,出于某种原因,我'得到连接超时。
这是 ssh 给我的:
$ ssh -vvv myuser@myserver.mydomain.com -p 2121
OpenSSH_7.4p1 Debian-10+deb9u4, OpenSSL 1.0.2l 25 May 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "myserver.mydomain.com" port 2121
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to myserver.mydomain.com [158.120.145.109] port 2121.
debug1: connect to address 158.120.145.109 port 2121: Connection timed out
ssh: connect to host myserver.mydomain.com port 2121: Connection timed out
*主机、域、ip 和端口因明显原因而更改
注意事项:
- 我的 git 服务器已启动并正在运行,我可以从任何其他服务器连接到它 机器使用相同的命令
- 我的 git 服务器日志没有显示任何传入连接 来自 gcloud
- 除了 App Engine 之外我没有使用任何东西,我不想 配置计算引擎
有没有人发现同样的问题并愿意分享解决方案?
【问题讨论】:
标签: git ssh google-cloud-shell