[Top][All Lists]

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

Re: Eshell tramp and multihop

From: Divan Santana
Subject: Re: Eshell tramp and multihop
Date: Mon, 19 Sep 2016 14:22:41 +0200
User-agent: mu4e 0.9.16; emacs 25.1.1

Divan Santana <> writes:

> Hi All,
> I'm really hoping to be able to replace my X terminals with some mode in
> Emacs.
> Though find it pretty difficult to do so far.
> That's mostly because I'm new to Emacs and still missing a lot of basics
> which I hope to learn in time.
> One of the issues I have is with eshell and tramp.
> How to use eshell with tramp with multihops
> So when you need to use multihops with TRAMP you need a pipe AFAIK.
> Something like this works just find from find-file
> /ssh:user@remotenode|sudo:root@remotenode:/root/somefile.txt
> I can't get eshell working with tramp and multihop directly.
> I would expect this to work in eshell:
> /ssh:user@remotenode|sudo:root@remotenode:/root
> It seems not to like the pipe. Not sure if there is away around that?
> For now the method I have is to open the remote "path" via find-file,
> then spwan eshell after that. That seems to work.
> Any insight would be greatly appreciated :)

Ok, figured it out. Simple. Basically just needed to quote the cd, like so


So the above ssh's to somenode, then sudo's to root, then su's to the
"anotheruser". Pretty cool.

Still have tons to figure out and get working before I can ditch my
terminal emulator.

To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 

If you are unable to access the Disclaimer, send a blank e-mail to and we will send you a copy of the Disclaimer.

reply via email to

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