我最近设置了一个linode服务器(Ubuntu 20.04 LTS)来托管用于大学项目的Web应用程序。 如果要克隆我们的项目存储库(由我的大学托管),则会出现以下错误:
复制https:
yannic@flask-blog-server:~$ sudo git clone git@ops.hs-kempten.de:swp/vorlage.git
Cloning into 'vorlage'... [This step always took 2 or 3 minutes]
ssh: connect to host ops.hs-kempten.de 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.
克隆ssh:
yannic@flask-blog-server:~$ git clone https://ops.hs-kempten.de/swp/vorlage.git
Cloning into 'vorlage'... [Again this step took 2 or 3 minutes]
fatal: unable to access 'https://ops.hs-kempten.de/swp/vorlage.git/': Failed to connect to ops.hs-kempten.de port 443: Connection timed out
我能够从Windows PC,Raspberry和Windows Linux子系统克隆所述存储库。 我还能够从我的linode服务器克隆gitlab.com和github.com上托管的存储库。