Tracy R Reed 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 > > 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? >
Does your situation sound anything like this? (contains reference to a workaround concept but it's not clear how to implement it) http://svn.haxx.se/dev/archive-2008-07/0560.shtml [maybe this is essentially the same as the bug ref you posted?] Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
