GNU bug report logs -
#64546
30.0.50; [PATCH] Add support for explicitly-remote commands in Eshell
Previous Next
Reported by: Jim Porter <jporterbugs <at> gmail.com>
Date: Sun, 9 Jul 2023 19:32:01 UTC
Severity: normal
Tags: patch
Found in version 30.0.50
Done: Jim Porter <jporterbugs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Jim Porter <jporterbugs <at> gmail.com> writes:
Hi Jim,
> This patch adds the ability to run a command in Eshell from any host,
> no matter your current directory. For example, you could run
> "/ssh:user <at> remote:whoami" from a local dir, which would run "whoami"
> over the SSH connection for "user <at> remote".
Looks nice. But what if I want to run a command on another remote host
with an absolute path? Would "/ssh:user <at> remote:/usr/bin/whoami" also be
possible?
> Similarly, you could run "/:whoami" to run the local "whoami" even
> from a remote dir.
The same question. What about calling "/:/usr/bin/whoami"?
> +By default, commands like @code{ssh} and @code{sudo} use the external
> +programs by those names, so if you ran @samp{ssh
> +@var{user}@@@var{remote}}, you would end up in the default shell
> +program for @var{user} on @var{remote}, @emph{not} in Eshell. If you
> +prefer to use commands like @code{ssh} but remain in Eshell
> +afterwards, you can enable the optional Tramp extensions (@pxref{Tramp
> +extensions}).
This surprises me. I thought, that only "doas", "su" and "sudo" are built-ins.
Best regards, Michael.
This bug report was last modified 1 year and 315 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.