M BUZZ CRAZE NEWS
// general

Using Git under Proxy on Ubuntu

By Daniel Rodriguez

I do git clone using terminal on Ubuntu 14.04 i.e git clone :myusername/myrepo.git. Before I did it, I set git to use proxy with command: git config --global http.proxy proxyserver:port. However, I got this erros message when trying to clone my repo on git. Help needed.

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.

1 Answer

If you are trying to use an SSH connection with an HTTP proxy, it won't work. Github offers Git over HTTPS as well. So try:

git clone 
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy