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:06:37 +0100



On Mon, Nov 29, 2021 at 11:01 AM Reza Housseini <reza.housseini@gmail.com> wrote:


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

> Hello

Hi Reza,

> I am entering a remote shell in eshell via cd /ssh:msc@s1-mb-com-02:~.
> If I then want to have sudo access I have to chain the sudo command as
> follows:
> cd /ssh:msc@s1-mb-com-02:sudo:s1-mb-com-02:~. But I always get
> sudo:s1-mb-com-02:~: command not found. Has anyone an idea what the
> problem is?

It must be /ssh:msc@s1-mb-com-02|sudo:s1-mb-com-02:~

> Thank you and kind regards,
> Reza

Best regards, Michael.

Sorry that was a typo, of course I meant  cd /ssh:msc@s1-mb-com-02|sudo:s1-mb-com-02:~

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

reply via email to

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