emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Xavier Maillard <xavier@maillard.im>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel: remote execution ?
Date: Tue, 12 Mar 2013 17:50:38 -0600	[thread overview]
Message-ID: <87sj40dvox.fsf@gmail.com> (raw)
In-Reply-To: <m238w0qk5s.fsf@kcals.intra.maillard.im> (Xavier Maillard's message of "Wed, 13 Mar 2013 00:21:19 +0100")

Xavier Maillard <xavier@maillard.im> writes:

> Eric Schulte <schulte.eric@gmail.com> writes:
>> Xavier Maillard <xavier@maillard.im> writes:
> [ SNIP ]
>>> Today, I tried to use org-babel for the first time with thing like that:
>>> #+begin_src sh
>>> echo $ORACLE_SID
>>> #+end_src
>>> My goal is to execute this block on a remote machine. I RTFM'ed but I
>>> could not find where this is described.
>> You can use the :dir header argument for remote execution.
>> #+begin_src sh :dir /ssh:tortilla:/tmp/
>>   hostname
>> #+end_src
>> : tortilla
> Great ! I will try that then. Does it mimic TRAMP syntax thus I could
> also use also telnet or anything supported by TRAMP ?


In fact it uses tramp.  See http://orgmode.org/manual/dir.html.


> Thnak you.
> /Xavier

Eric Schulte

      reply	other threads:[~2013-03-12 23:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 22:18 org-babel: remote execution ? Xavier Maillard
2013-03-12 22:54 ` Eric Schulte
2013-03-12 23:21   ` Xavier Maillard
2013-03-12 23:50     ` Eric Schulte [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=87sj40dvox.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xavier@maillard.im \


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