Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4050984
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:08:16+00:00 2026-05-20T14:08:16+00:00

I am using ubuntu behind a socks5 proxy and trying to use the git

  • 0

I am using ubuntu behind a socks5 proxy and trying to use the git protocol (as opposed to http which does work). I can get git clone working by compiling connect.c

And by adding this to my ~/.ssh/config:

ProxyCommand connect -S socks-mydomain.co.uk %h %p

I have cloned a repo and have all the code, however now I am trying to merge in the changes from another repo. I have added it as a remote and now I get an error when doing this:

git fetch upstream

github.com[0: 207.97.227.239]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

As git clone works it seems strange that a fetch does not.
Any idea why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:08:17+00:00Added an answer on May 20, 2026 at 2:08 pm

    If adding the ProxyCommand helped for your initial clone, you cloned via ssh. For the remote you just added, you use the git protocol (i.e. a git://-url). For this protocol, git does not use ssh, but some builtin network support.

    Proxy support for the git protocol can be configured with the core.gitProxy variable in the git config file or the GIT_PROXY_COMMAND environment variable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Ubuntu with Gnome where I can set network proxy settings (with authentication).
I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK
I am using Ubuntu + cakephp 1.3. I am trying the database migration with
I'm using Ubuntu 10, python 2.6.5 I'm following this tutorial: http://www.djangobook.com/en/2.0/chapter02 I followed all
I am using Ubuntu telnet client. I am trying to send 2 lines over
I'm using ubuntu 64-bit and trying to run a .asm file on NASM. But
I am using ubuntu, fluxbox, pcmanfm as filemanager, xmms2 as music player. My goal:
I'm using an Ubuntu 8.04 (x86_64) machine to connect to my employer's Cisco VPN.
I'm accessing an Ubuntu machine using PuTTY, and using gcc. The default LANG environment
I am using VMWare tools for Ubuntu Hardy, but for some reason vmware-install.pl finds

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.