Björn Bidar <bjorn.bi...@thaodan.de> writes:

Hi Björn,

>>> While the usual expectation for Tramp with SSH or SFTP is to operate on
>>> remote, for SSHFS this is usually not the case.
>>
>> For sftp, no remote processes are supported.
>
> What doe SFTP have to do with this? Besides SFTP only works with GNOME
> or does it?

You've mentioned SFTP. I just clarified, that Tramp's sftp
implementation doesn't offer remote processes.

>> If you want to run programs locally, mount the sshfs file system, and use
>> the files with their local names via the mountpoint.
>
> The manual states that it mounts the SSHFS file system, which it does.
> Since SSHFS either through Tramp or otherwise mounts the file system it
> should be possible to transform the tramp path to the locally mounted
> file system and call programs on it.

Anything goes. But it isn't Tramp's job to call local processes.

> If the user wants to run programs on the remote SSH would be the better
> method.

No. People have reported, that the sshfs method provides better
performance, due to the sshfs mounting. That's why I've added this
method to Tramp.

> I think the confusion or the issue is that programs called when using
> the tramp-sshfs method don't use sshfs.

No confusion, Tramp is consistent. sshfs-mounted file systems don't
allow to call remote programs, that's why Tramp uses the ssh-based
remote calls. The Tramp manual mentions this in section "5.20.2 ‘sshfs’
setup".

Best regards, Michael.

Reply via email to