From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thierry Leurent Newsgroups: gmane.emacs.help Subject: Tramp too slow to be usefull Date: Tue, 01 Aug 2017 18:09:20 +0200 Message-ID: <9945491.03ngrJWQ3Y@e6430> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1501609765 11964 195.159.176.226 (1 Aug 2017 17:49:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 17:49:25 +0000 (UTC) User-Agent: KMail/5.2.3 (Linux/4.11.0-1-amd64; KDE/5.28.0; x86_64; ; ) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 01 19:49:19 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcbI5-0002Ih-On for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Aug 2017 19:49:09 +0200 Original-Received: from localhost ([::1]:43894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcbIB-0005FH-GM for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Aug 2017 13:49:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcbHe-0005Do-Ub for help-gnu-emacs@gnu.org; Tue, 01 Aug 2017 13:48:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcbHa-0008ND-33 for help-gnu-emacs@gnu.org; Tue, 01 Aug 2017 13:48:43 -0400 Original-Received: from 1.mo7.mail-out.ovh.net ([178.33.45.51]:51201) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcbHZ-0008Jb-SI for help-gnu-emacs@gnu.org; Tue, 01 Aug 2017 13:48:38 -0400 Original-Received: from player762.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id EB6D16692F for ; Tue, 1 Aug 2017 19:48:27 +0200 (CEST) Original-Received: from e6430.localnet (236.154-242-81.adsl-dyn.isp.belgacom.be [81.242.154.236]) (Authenticated sender: thierry.leurent@asgardian.be) by player762.ha.ovh.net (Postfix) with ESMTPSA id BAA69E006F for ; Tue, 1 Aug 2017 19:48:27 +0200 (CEST) X-Ovh-Tracer-Id: 13757089487357817814 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelkedrieelgdduuddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenuc X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.33.45.51 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113919 Archived-At: Hello, I'm trying to use tramp but it's very slow even I work with a local file owned by root. After asking to the "friend" Google, I don't find any solution. I use emacs 25 on Linux Testing. You can see my tramp configuration file. (use-package tramp :defer t :config (progn (with-eval-after-load 'tramp-cache (setq tramp-persistency-file-name "~/.emacs.d/backup_and_other_stuffs/ tramp$")) (setq tramp-default-user-alist '(("\\`su\\(do\\)?\\'" nil "root")) ;; use the settings in ~/.ssh/config instead of Tramp's tramp-verbose 9 tramp-default-method "ssh" tramp-ssh-controlmaster-options (concat "-o ControlPath=/tmp/tramp.%%r@%%h:%%p " "-o ControlMaster=auto " "-o ControlPersist=no") tramp-use-ssh-controlmaster-options nil backup-enable-predicate (lambda (name) (and (normal-backup-enable-predicate name) (not (let ((method (file-remote-p name 'method))) (when (stringp method) (member method '("su" "sudo")))))))) (use-package tramp-sh :config (progn (add-to-list 'tramp-remote-path "/usr/local/sbin") (add-to-list 'tramp-remote-path "/var/www/") (add-to-list 'tramp-remote-path "~/bin"))))) Thnaks for your help. Regards, ----- Thierry Leurent