emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: David Dynerman <emperordali@block-party.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Specifying shells for remote ob-shell sessions?
Date: Fri, 25 Jun 2021 09:18:59 +0200	[thread overview]
Message-ID: <87a6nequn0.fsf@gmail.com> (raw)
In-Reply-To: <3D86861D-E962-4FDB-B520-374C883C9F1E@block-party.net> (David Dynerman's message of "Thu, 24 Jun 2021 16:15:44 -0700")

>>>>> 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)


      parent reply	other threads:[~2021-06-25  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 23:15 Specifying shells for remote ob-shell sessions? David Dynerman
2021-06-25  5:45 ` Tim Cross
2021-06-25  7:18 ` Robert Pluim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6nequn0.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=emperordali@block-party.net \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).