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 More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"