Stefan Monnier <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]:%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. _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
