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 6609463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:43:15+00:00 2026-05-25T19:43:15+00:00

I start up Ubuntu Linux, open a terminal, edit some code, and happily execute

  • 0

I start up Ubuntu Linux, open a terminal, edit some code, and happily execute

git push origin master

However, after some period of time (sometimes 30 mins, sometimes a few hours), the exact same command will hang (no output at all).

When I try

ssh -v git@github.com

I get the following response:

OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /home/avitus/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: auto-mux: Trying existing master

And then it hangs again. It seems as though I can no longer use SSH to git once I’ve SSH’ed to another server. Any ideas how to fix this? It is killing me having to reboot each time.

Update:

The problem goes away when I remove the following two lines (intended to facilitate connection sharing) from ~/.ssh/config

ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
  • 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-25T19:43:16+00:00Added an answer on May 25, 2026 at 7:43 pm

    Just turning my guess from a comment into an answer…

    The last line in the output of ssh -v:

    debug1: auto-mux: Trying existing master
    

    … tells you that SSH has been configured to look for an existing SSH connection to reuse. I suspect that this existing connection eventually gets stuck in some way, which would explain the behaviour you’re seeing.

    This connection sharing facility is described in the ControlMaster section of the ssh_config(5) man page. Essentially the “master” SSH session creates a socket in /tmp which later sessions can connect to instead of having to go through the potentially length authentication step again. You have this option set to auto, which means that this socket will be created and used automatically.

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

Sidebar

Related Questions

I am trying to build ffmpeg source code on ubuntu 10.1 linux machine with
How to find a process start time on ubuntu linux machine using c language.
Start a new Silverlight application... and in the code behind (in the Loaded event),
I start by creating a string variable with some non-ascii utf-8 encoded data on
I have a process that is running as a java daemon on Ubuntu Linux.
I'm using Qt 4.6.3, and ubuntu linux on an embedded target. I call dlg->setWindowState(Qt::WindowFullScreen);
I'm running a Linux Ubuntu 10.4 VM using VirtualBox. I'm trying to use oprofile
i am trying to setup java in my Ubuntu LUcid linux . I checked
When I log into a particular Ubuntu Linux (10.04 64bit) host via SSH, I
I'm new to Linux and especially to Ubuntu 11 which I'm just trying today

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.