From: Stephen Berman <stephen.berman@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Tramp and sftp
Date: Fri, 21 Apr 2017 12:07:21 +0200 [thread overview]
Message-ID: <8760hyhy5i.fsf@rosalinde> (raw)
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 ‘xxx.xxx.xx’ looks like a remote host, ‘sftp’ 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
next reply other threads:[~2017-04-21 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 10:07 Stephen Berman [this message]
2017-04-21 12:23 ` Tramp and sftp Michael Albinus
2017-04-21 13:56 ` Stephen Berman
2017-04-21 17:16 ` Michael Albinus
2017-04-21 17:52 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8760hyhy5i.fsf@rosalinde \
--to=stephen.berman@gmx.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).