tramp-devel
[Top][All Lists]
Advanced

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

Re: Cannot use sudo in eshell


From: Reza Housseini
Subject: Re: Cannot use sudo in eshell
Date: Mon, 29 Nov 2021 11:33:39 +0100



On Mon, Nov 29, 2021 at 11:25 AM Michael Albinus <michael.albinus@gmx.de> wrote:
Reza Housseini <reza.housseini@gmail.com> writes:

Hi Reza,

> that was perhaps a bit too quick, I meant to say that I made a typo
> and the error still persists when I use the correct syntax: cd
> /ssh:msc@s1-mb-com-02|sudo:s1-mb-com-02:~  gives me
> sudo:s1-mb-com-02:~: command not found

Reproducible here. It looks, like the pipe "|" is in the way, because it
will be interpreted by the eshell parser. You must quote it, like

cd "/ssh:msc@s1-mb-com-02|sudo:s1-mb-com-02:~"

or

cd /ssh:msc@s1-mb-com-02\|sudo:s1-mb-com-02:~

See also the eshell manual in (info "(eshell) Arguments")

Best regards, Michael.

Thank you again Michael, I was struggling with this issue way too long for such an obvious cause! Now I will happily tramp away!

Best regards,
Reza

reply via email to

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