PDA

View Full Version : [ubuntu] git port/time out error



ebore215
July 19th, 2011, 10:53 PM
When I try to clone a repository using git I get an error on port 22 saying that it has timed out. I have reinstalled git several times and checked the ssh settings. What could be causing this error. Here is an example of an repository I have tried to clone.

jebrony@jebrony-desktop:~$ git clone git@git.phpfog.com:foo.phpfogapp.com
Initialized empty Git repository in /home/jebrony/foo.phpfogapp.com/.git/
ssh: connect to host git.phpfog.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly

Thanks

wkulecz
July 20th, 2011, 11:40 PM
Is there a firewall blocking your connection?

I can't use any git servers from work :(
Your error message looks familiar.