Let me explain my very strange problem. I have one server (Linux Debian Jessie) which had access to my git repository on gitlab.com
Two days ago, I tried to pull some modifications on this server with a simple git pull. I received an error message :
`ssh: connect to host gitlab.com port 22: Connection timed out`
Si I have done some tests
To understand why, I have tried a telnet on 22 port = TIMEOUT
I checked my iptables to be sure that SSH port was allowed. It is. If I try a telnet on another service for example like github.com, it works. So I’m allowed in OUTPUT on this port.
I thought a ip translation problem. I have done a ping, I obtain this message :
`PING 18.104.22.168 (22.214.171.124) 56(84) bytes of data. --- 126.96.36.199 ping statistics --- 87 packets transmitted, 0 received, 100% packet loss, time 86534ms`
I use fail2ban, so I have checked if gitlab was in jail address, but it seems not.
So my problem is that I can’t reach gitlab.com
If I try from my local machine or from another server, I don’t have this problem. It works.
I can’t reach gitlab.com only from this server but I don’t know why. Maybe someone has an idea which cans be very precious to help me ?
Thanks in advance