Se você estiver tentando usar uma conexão SSH com um proxy HTTP, isso não funcionará. O Github também oferece o Git sobre HTTPS. Então tente:
git clone https://github.com/myusername/myrepo.git
Eu faço o git clone usando o terminal no Ubuntu 14.04, ou seja, git clone [email protected]:myusername/myrepo.git
. Antes de fazer isso, configurei o git para usar o proxy com o comando: git config --global http.proxy proxyserver:port
. No entanto, recebi essa mensagem de erros ao tentar clonar meu repositório no git. Ajuda necessária.
Cloning into 'MY REPO'... ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Se você estiver tentando usar uma conexão SSH com um proxy HTTP, isso não funcionará. O Github também oferece o Git sobre HTTPS. Então tente:
git clone https://github.com/myusername/myrepo.git