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