I am working from home and am trying to clone a repo from Github and am getting the following error:
git clone https://github.com/account/repo.git
Also tried
git clone git://github.com/account/repo.git
Error: Failed connect to github.com:443; No error while accessing https://github.com/account/repo/info/refs?service=git-upload-pac
fatal: HTTP request failed
I even tried to use SSH and this is what I get:
ssh: connect to host github.com port 22: Bad file number fatal: could not read from remote repository.
I was just able to clone it on my laptop so I know that I have the correct permissions, I just need help trying to figure out why this is happening on my desktop and it seems that all of the other suggestions don't seem to be working.
- I am not using a proxy.
- I cannot do pulls on other repos that already exist either.
EDIT Ok I ran the command suggested, here are the results:
$ ssh -i ~/.ssh/id_rsa -vvv git@github.com
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [204.232.175.90] port 22.
debug1: connect to address 204.232.175.90 port 22: Not owner
ssh: connect to host github.com port 22: Bad file number
Any suggestions?