无法从 VPS 连接到 gitlab 存储库

can't connect to gitlab repository from VPS

我正在使用 gitlab 存储库进行版本控制。 当我 运行 在本地主机上执行命令时没有问题。

$ git pull origin master

$ git remote show origin

$ git clone ...

但是当我 运行 在我的 vps 上执行相同的命令时,我在大约 20 秒后收到此错误:

ssh: connect to host gitlab.com port 22: Connection timed out fatal: The remote end hung up unexpectedly

请告诉我如何解决这个问题。

我的 VPS 提供商:

port 22 on your server was blocked and we unblocked that.

现在工作:)