tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.8.0-pre nil/nil); Should tramp-sshfs-method shell call prog


From: Michael Albinus
Subject: Re: tramp (2.8.0-pre nil/nil); Should tramp-sshfs-method shell call programs local or remote?
Date: Mon, 09 Dec 2024 09:27:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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

Hi Björn,

> While trying to use tramp with SSHFS I noticed that the programs started
> using this method are still called on the remote rather than on the
> host.

This is intended.

> 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.

> Should there at least be an option to call programs started on the SSHFS
> paths locally or default to it? It does not make much sense to use
> ssfhfs and then call programs outside of it.

The same program can return different values local and remote. Think
about 'hostname'.

A program which exist remotely, does not need to exist locally.

And think about real life examples: A remote compilation or build environment.

If you want to run programs locally, mount the sshfs file system, and use
the files with their local names via the mountpoint.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]