From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Tramp and sftp Date: Fri, 21 Apr 2017 12:07:21 +0200 Message-ID: <8760hyhy5i.fsf@rosalinde> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492769346 15673 195.159.176.226 (21 Apr 2017 10:09:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Apr 2017 10:09:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 21 12:09:00 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 1d1VUn-0003tt-Bi for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Apr 2017 12:08:57 +0200 Original-Received: from localhost ([::1]:58345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1VUs-00055E-Tp for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Apr 2017 06:09:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1VTN-0004Ku-7K for help-gnu-emacs@gnu.org; Fri, 21 Apr 2017 06:07:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1VTK-00071h-0a for help-gnu-emacs@gnu.org; Fri, 21 Apr 2017 06:07:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54856) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1VTJ-00070l-MV for help-gnu-emacs@gnu.org; Fri, 21 Apr 2017 06:07:25 -0400 Original-Received: from rosalinde ([83.135.17.101]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MTTKZ-1ccSDN0cid-00SOfC for ; Fri, 21 Apr 2017 12:07:22 +0200 X-Provags-ID: V03:K0:pafRLvWAVcDrAHTdVSn5gglhchEeCdbL37EC1vKihrvdmN/i4eM HSvczoxb3EpnKy7bL6Aeq/oYCIx339txLgz98YOsif4nVuwtPIaiXlBmdvrqgdolbQu3QjG /cV9IBePBIcXbyfLv4NMohXNhG77DVoEPfum64HXv3mVSxi9rjMaEIFxGPILP5/vZkJDqyW 7EH8fS2o1gvfjipQOW2fw== X-UI-Out-Filterresults: notjunk:1;V01:K0:EC+JIEjB9I0=:+u8OvFV+mpSqo/Ua2jIk12 FteYC/YA3bCZ67VG/c6rXg7oVj2xoF2UQS46+B6AXXBWaTpWrMrFw1kiH01qI0D+x/53EFJtW NuL5STO9ZHUlXBA5Rzlwt46QnbCVMdBEHZKvkAfxzcWUJaX7WIFHwCQncsAbOv/oXuAQGLY1r kpuH8xvPnsGnPmfX+M86Qz1YlEoyRUG/2fQgZ75zmLbaIqQ4dyiBXEmj4xJLfeKqT4h8wFCqd L7NwL3mSlQPpGNwj8UemmaYWmR/lCnpZREDiME0iKw9yIXn9xHe/jeDkkMuiCz4bc+2kn0VGK M0+nYrf/dxt3MqFOgJ3ctxChdUIXUOpdDKvI+e7AEeeBZ3DY2lrZSE9Vtc2q26gSNPF8rlrSz AuSBBsUC8kK/+VkbTjvnFpHABGOUdakU5lxugv6XVmyACCh+fDQHRnRgfHf5Qpsz/g3f0tJQZ rm6U5DI7k5aazN+5lEaZQ4xcDxXdF1kyNIBYJRBAIv/s6gOzlJnwQsMYosbVNyxSH1TtiWhUJ d/7k/k4AFbRmgv0g54Xt6cjqbs06ThS+FhiB0YMLlY4wtZrbEyh8zJiI2XK8bWmreQNq/r1up /rA1S4HjgvEjt3GdvKHzIYKUrOYV5eQ4EJ3BMvzyOjJF4q20LBb8GduQGHcWSulafrTDwaVA7 C9GCXN8BJuZBlJwtVY/laI0ebfk3ALA6cpUwqDcBwmKgj+vRmhIJx1Wg+di79YCCQYjiLJYgK NI8uTLbfkpfYB88G2IPgFSlsZPlv+qd6yO3J8Tbw7VB6QZEWEZH+OYbcaCkh70sy2niD/p/8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 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:112834 Archived-At: For a long time I have been able to access a remote directory from Emacs via the sftp protocol with Tramp. I didn't pay any attention to how this worked, since it just did. But on a new system this has now failed, and the reason seems to be that, although the system has dbus installed, it has neither gvfs nor fuse, so the sftp invocation fails with the error "Package `tramp-gvfs' not supported" (from tramp-gvfs-file-name-handler). When I invoke sftp from the shell, it succeeds, so that protocol itself does not depend on gvfs or fuse. I tried removing sftp from tramp-gvfs-methods in the hope that this would make tramp avoid using gvfs, but it didn't and access again failed. I then tried rebuilding emacs --without-dbus, but this resulted in the message "Host =E2=80=98xxx.xxx.xx=E2=80=99 looks like a remote host, =E2=80= =98sftp=E2=80=99 can only use the local host". So is there some way to access a remote directory from Emacs via the sftp protocol without gvfs and fuse, or must I install these and configure dbus accordingly? (And if the latter, I'd be grateful for any advice, since I've never done this; on the other system that was evidently done by the distribution, on the new system I build and configure all the packages myself.) Steve Berman