tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ControlPersist breaks scpc method


From: Adam Spiers
Subject: Re: ControlPersist breaks scpc method
Date: Mon, 19 Mar 2012 10:24:59 +0000

On Mon, Mar 19, 2012 at 9:12 AM, Michael Albinus <address@hidden> wrote:
> Thanks for the report. However, your patch would break older ssh
> versions, which do'nt know of ControlPersist. We cannot apply this patch
> in general.

Oops, of course you are right :-)

> We shall add a hint to the Tramp manual, describing this trap. For a
> general solution, it might be useful to add a customer option which
> allows to expand ssh parameters as given in tramp-methods by own ones.
> Something like
>
> (setq tramp-methods-extension
>      '(("scpc" (tramp-login-args (("-o" "ControlPersist=no"))))))
>
> But this might look ugly to Tramp users without Lisp knowledge ...

Yes.  There is an easier workaround which I forgot to mention - with
ControlPersist enabled and ControlMaster set to 'auto', switching to
the 'scpx' transfer method works nicely for me.  If that sounds
reasonable to you, maybe adding that to the manual is sufficient.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]