Subject: bug#61350: Eglot over Tramp freezes with large project

From: Gregory Heytings <[email-masked]>
Date: Wed, 01 Mar 2023 11:23:00 +0000

>
> Still hangs.  I tried my previously described test with this patch:
>

Are you sure that this patch actually turns ControlPersist on?  Instead of 
trying to modify tramp-sh.el, I would try to add a section like

Host foo
   ...
   ControlMaster yes
   ControlPath /some/path/%r@%h:%p
   ControlPersist yes

in my .ssh/config.