Tentando obter o “git clone” para trabalhar por trás de um firewall estrito? Ajude-me a perguntar ao net admin o que preciso

0

OBJETIVO FINAL, para que esse comando funcione:

git clone https://github.com/ablab/quast.git

O administrador da rede diz que eles estão abertos:

Note the destination IP's are:

host1.github.com  192.30.253.112
host2.github.com  192.30.253.113
security1.ubuntu.com  91.189.91.26
security2.ubuntu.com  91.189.91.23
security3.ubuntu.com  91.189.88.149
security4.ubuntu.com  91.189.88.152
security5.ubuntu.com  91.189.88.162
security6.ubuntu.com  91.189.88.161

Also note the Services being allowed are:

NAME      PORT
--------------    ---------
l_tcp_9418    9418
service-http  80
ssh           22

Solução de problemas que já fiz. O ping funciona muito bem, o wget google.com não funciona porque não o abri explicitamente. Eu tentei abrir conexões para o github, mas claramente estou perdendo algo, do contrário o "git clone" funcionaria. Alguma ajuda?

=======================================
TESTING ping google.com
=======================================
PING google.com (172.217.6.110) 56(84) bytes of data.
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=1 ttl=53 time=8.05 ms
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=2 ttl=53 time=8.00 ms
64 bytes from ord37s03-in-f14.1e100.net (172.217.6.110): icmp_seq=3 ttl=53 time=8.02 ms



#=======================================
# TESTING ping github.com
#=======================================
PING github.com (192.30.253.113) 56(84) bytes of data.
64 bytes from 192.30.253.113: icmp_seq=1 ttl=48 time=29.9 ms
64 bytes from 192.30.253.113: icmp_seq=2 ttl=48 time=30.0 ms
64 bytes from 192.30.253.113: icmp_seq=3 ttl=48 time=30.0 ms



#=======================================
# TESTING wget google.com
#=======================================
--2017-07-11 07:13:14--  http://google.com/
Resolving google.com (google.com)... 172.217.6.110, 2607:f8b0:4009:812::200e
Connecting to google.com (google.com)|172.217.6.110|:80...


#=======================================
# TESTING wget https://github.com/ablab/quast/archive/master.zip
#=======================================
--2017-07-11 07:13:24--  https://github.com/ablab/quast/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443...


#=======================================
# TESTING wget --verbose https://github.com/ablab/quast/archive/master.zip
#=======================================
--2017-07-11 07:13:34--  https://github.com/ablab/quast/archive/master.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443...


#=======================================
# TESTING git clone https://github.com/ablab/quast.git
#=======================================
Cloning into 'quast'...



#=======================================
# TESTING git clone -v https://github.com/ablab/quast.git
#=======================================
Cloning into 'quast'...
    
por user708503 11.07.2017 / 20:30

1 resposta

2

Se você quiser clonar usando git sobre HTTPS, você precisa da porta HTTPS aberta, que é 443. Mas, desde que você tenha SSH permitido, você pode usar git over SSH:

git clone [email protected]:ablab/quast.git

Para isso, você precisará criar uma conta do Github e adicionar uma chave privada SSH .

Você também pode usar o protocolo plain git (que usa a porta 9418 por padrão):

git clone git://github.com/ablab/quast.git
    
por muru 11.07.2017 / 20:40