emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xavier Maillard <xavier@maillard.im>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel: remote execution ?
Date: Wed, 13 Mar 2013 00:21:19 +0100	[thread overview]
Message-ID: <m238w0qk5s.fsf@kcals.intra.maillard.im> (raw)
In-Reply-To: 87wqtcdy9v.fsf@gmail.com

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 ?

Thnak you.


  reply	other threads:[~2013-03-12 23:18 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 [this message]
2013-03-12 23:50     ` Eric Schulte

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=m238w0qk5s.fsf@kcals.intra.maillard.im \
    --to=xavier@maillard.im \
    --cc=emacs-orgmode@gnu.org \


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