emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Specifying shells for remote ob-shell sessions?


From: Robert Pluim
Subject: Re: Specifying shells for remote ob-shell sessions?
Date: Fri, 25 Jun 2021 09:18:59 +0200

>>>>> On Thu, 24 Jun 2021 16:15:44 -0700, David Dynerman 
>>>>> <emperordali@block-party.net> said:

    David> Dear Org Mode Friends,
    David> I’m having some trouble getting the shell I want to run on remote
    David> hosts in session ob-shell blocks - it seems that no matter what shell
    David> I specify, session blocks will always run /bin/sh. I’m not sure if
    David> this is an org or tramp configuration issue on my end, or a bug in
    David> org.

Tramp will always use /bin/sh on the remote host, unless you tell it
not to.

See (info "(tramp) Remote shell setup") for how to override that (I
donʼt remember offhand if /ssh: supports overriding, otherwise you can
switch to /sshx: which definitely does)

Robert
-- 



reply via email to

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