[Top][All Lists]

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

Re: default remote shell in tramp

From: Michael Albinus
Subject: Re: default remote shell in tramp
Date: Thu, 17 Jun 2010 21:27:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Vinh Nguyen <address@hidden> writes:

> I tried this before and I just tried it again.  Issue is the commands
> I'm looking for is in PATH that is defined in my .bashrc file on the
> remote machines.  Hence, I think the error is coming from the fact
> that /bin/sh is used (as the error states).
> I think the solution is to have tramp use bash on my remote machine.
> Does this make sense?

Yes. You could change the used remote shell in `tramp-methods' to
bash. If you, for example, use "ssh", you could apply

(setcdr (assoc 'tramp-remote-sh (assoc "ssh" tramp-methods)) '("/bin/bash"))

> Thanks.

Best regards, Michael.

reply via email to

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