I have a situation where I routinely pull or push from dozens of separate repositories on the same server. Oftentimes, only a few of the repositories have any changes at all. MOST of my time is spent doing SSH setup.
Is there any way to keep the underlying ssh connection open while we're going from repo to repo? I think I could speed up my script by a whole lot. As an added benefit, I would also look less like a DDoS-attack to my repository server.
I have a situation where I routinely pull or push from dozens of separate repositories on the same server. Oftentimes, only a few of the repositories have any changes at all. MOST of my time is spent doing SSH setup.
Is there any way to keep the underlying ssh connection open while we're going from repo to repo? I think I could speed up my script by a whole lot. As an added benefit, I would also look less like a DDoS-attack to my repository server.