emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: TRAMP password caching


From: Michael Albinus
Subject: Re: TRAMP password caching
Date: Sat, 02 Dec 2006 11:46:22 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux)

Stefan Monnier <address@hidden> writes:

>>> What about if you use ssh-agent?  Does that solve the problem?
>>     ssh-agent solves the problem.
>
>>     So does using these 2 lines:
>>       ControlMaster auto
>>       ControlPath /tmp/address@hidden:%p
>>     in ~/.ssh/config, and having an existing ssh connection to the remote
>>     host.  Then 'scp' will reuse the existing ssh connection and not
>>     need the user to specify a password.
>
>> Would someone like to propose a solution consisting of documentation
>> changes with these suggestions?
>
> Sounds good, but if the user has to change its config to get Tramp/scp to
> work acceptably, then she may as well change tramp-default-method.
> So I think the default should be "ssh" because it's the only setting that
> works acceptably without any need for the user to use
> a particular ssh configuration.  Then we can tell them "if performance
> sucks, use scp which involves these and that changes to your SSH
> config".

In Tramp 2.1, ControlMaster/ControlPath have been added _as parameters_
to scp calls. I'll check whether I can backport it to Tramp 2.0; not
trivial due to different data structures between Tramp 2.0/2.1. But
shall be possible.

>         Stefan

Best regards, Michael.





reply via email to

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