[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel: remote execution ?
From: |
Xavier Maillard |
Subject: |
Re: [O] org-babel: remote execution ? |
Date: |
Wed, 13 Mar 2013 00:21:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Eric Schulte <address@hidden> writes:
> Xavier Maillard <address@hidden> 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
>
> #+RESULTS:
> : 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.
/Xavier