I work from home and try to clone a repo from Github and get 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 using SSH, and this is what I get:
ssh: connect to github.com host port 22: invalid file number: it may not be read from the 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 like all the other suggestions don't seem to work.
- I do not use a proxy server.
- I cannot use other repositories that already exist.
EDIT Well, I executed the proposed command, 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?
git github
gregwhitworth
source share