On Sat, Jul 19, 2008 at 6:13 PM, Tracy R Reed <[EMAIL PROTECTED]> wrote:
> I use ssh a lot. I always have windows open to many of different systems. I
> make extensive use of ssh keys, ssh-agent, etc. This makes for very
> convenient yet secure communications. I sometimes code in emacs and use
> tramp mode to edit remote files. I tunnel svn (and soon hg) over ssh also.
> To reduce the latency of transactions over ssh I use ssh's ability to tunnel
> multiple sessions over one ssh tunnel. I accomplish this by putting the
> following in /.ssh/config:
>
> Host *
>  ControlMaster auto
>  ControlPath ~/.ssh/[EMAIL PROTECTED]:%p

I presume you do this on your system, not the system you are connecting too.

>
> But this has been bugging me for a while and the problem seems to be getting
> worse:
>
> [EMAIL PROTECTED] ~]$ svn ls
> Control socket connect(/home/treed/.ssh/[EMAIL PROTECTED]:22):
> Connection refused
> ControlSocket /home/treed/.ssh/[EMAIL PROTECTED]:22 already
> exists
> svn: Connection closed unexpectedly
>
> svn tried to connect to svn.copilotco.com to take a look in the repository
> and it tried to do it over the control socket which exists where the local
> ssh client which first connected to svn.copilotco.com is supposed to be
> listening and willing to tunnel additional sessions. But it isn't listening
> for some reason. Probably because I don't have any other sessions existing.
> This is a stale socket. For some reason the ssh client is not cleaning up
> after itself. I can do:
>
> rm /home/treed/.ssh/[EMAIL PROTECTED]:22
>
> and then it will work. There is a bug filed on this in debian:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=352830
>
> but I don't see if it was ever fixed. The openssh version I am running is:
>
> OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006
>
> and I am up to date on FC8. Anyone else ever seen this or know if it was
> fixed in more recent openssh?
>
> --
> Tracy R Reed                  Read my blog at http://ultraviolet.org
> Key fingerprint = D4A8 4860 535C ABF8 BA97  25A6 F4F2 1829 9615 02AD
> Non-GPG signed mail gets read only if I can find it among the spam.
>
>
> --
> [email protected]
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
>


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to