Discussion:
sshfs vs tramp (was: Tramp login failures)
Jochen Küpper
2007-05-14 07:46:05 UTC
Permalink
Wondering what others think about tramp vs MacFUSE/sshfs on Mac OS X...
when i am using tramp to access files remotely
I recently switched to use sshfs (installed via MacPorts) instead of
tramp for my remote editing needs on Mac OS X. My first expression is
that is considerably faster and very reliable when connecting to
servers running OpenSSH. I have had some issues with other (Sun SSH)
servers.

Therefore, I would suggest to use sshfs when connecting to OpenSSH
(i.e. Linux) servers. It has the speed advantage and also the normal
visibility of the remote drive in Finder.

Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-
Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
Sex, drugs and rock-n-roll


---------------------------- Info -----------------------------
List Post: <mailto:macosx-***@email.esm.psu.edu>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>
Ben Hyde
2007-05-14 14:08:53 UTC
Permalink
Post by Jochen Küpper
Wondering what others think about tramp vs MacFUSE/sshfs on Mac OS X...
Pretty delightful, if you connection is fast; if it is slow then
buffer editing get's intolerably slow; presumably something is
polling the disk as I edit.

Occasionally I get failures on file opens that go away on my next
attempt.

I establish a connection master before I mount the sshfs.
Post by Jochen Küpper
when i am using tramp to access files remotely
I currently switch back and forth between tramp and sshfs depending
on the quality of my connection to the server in question.
Post by Jochen Küpper
I recently switched to use sshfs (installed via MacPorts) instead
of tramp for my remote editing needs on Mac OS X. My first
expression is that is considerably faster and very reliable when
connecting to servers running OpenSSH. I have had some issues with
other (Sun SSH) servers.
Therefore, I would suggest to use sshfs when connecting to OpenSSH
(i.e. Linux) servers. It has the speed advantage and also the
normal visibility of the remote drive in Finder.
Particularly nice because grep and idutils still work.
Post by Jochen Küpper
Greetings,
Jochen
--
Einigkeit und Recht und Freiheit http://www.Jochen-
Kuepper.de
Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D
Sex, drugs and rock-n-roll
---------------------------- Info -----------------------------
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>
---------------------------- Info -----------------------------
List Post: <mailto:macosx-***@email.esm.psu.edu>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>
Christopher Menzel
2007-05-15 15:35:48 UTC
Permalink
Post by Jochen Küpper
Wondering what others think about tramp vs MacFUSE/sshfs on Mac OS X...
I use both a lot, but usually use tramp when the only thing I'm doing
on the remote machine is file editing. I typically use MacFUSE/sshfs
when I'm doing file management on the remote box so that I can easily
preview pdf and graphic files and also compare remote and local text
files with diff.

On a recent occasion while editing a remote file via tramp the
connection hung during a save (I hadn't lost internet connectivity as
I could still ssh to the remote machine) and found, as a consequence,
that the remote file had been blown away and had not been replaced by
the contents of the emacs buffer. =(8^O) Fortunately, I hadn't quit
the emacs session so was able to save the buffer out to a local
file. Has anyone else experienced this sort of problem?

Chris Menzel



---------------------------- Info -----------------------------
List Post: <mailto:macosx-***@email.esm.psu.edu>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>
Stefanos Folias
2007-05-15 15:55:43 UTC
Permalink
Post by Christopher Menzel
On a recent occasion while editing a remote file via tramp the
connection hung during a save (I hadn't lost internet connectivity
as I could still ssh to the remote machine) and found, as a
consequence, that the remote file had been blown away and had not
been replaced by the contents of the emacs buffer. =(8^O)
Fortunately, I hadn't quit the emacs session so was able to save
the buffer out to a local file. Has anyone else experienced this
sort of problem?
definitely ... i've noticed that a few times too (not frequently) ...
it's a scary moment! easy to lose the file contents with rash
decisions during that moment of limbo.


stefanos
---------------------------- Info -----------------------------
List Post: <mailto:macosx-***@email.esm.psu.edu>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>

Loading...