From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: org-babel: remote execution ? Date: Tue, 12 Mar 2013 16:54:52 -0600 Message-ID: <87wqtcdy9v.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFY6o-0007rc-AC for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 18:56:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFY61-00019d-AM for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 18:55:50 -0400 Received: from mail-da0-x236.google.com ([2607:f8b0:400e:c00::236]:39235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFY61-00019O-3f for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 18:55:01 -0400 Received: by mail-da0-f54.google.com with SMTP id p1so133301dad.27 for ; Tue, 12 Mar 2013 15:54:59 -0700 (PDT) In-Reply-To: (Xavier Maillard's message of "Tue, 12 Mar 2013 23:18:37 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xavier Maillard Cc: emacs-orgmode@gnu.org Xavier Maillard writes: > Hi there, > > I am trying to get back to orgmode after years ;) > Welcome back! > > I developed my own spartian note-jotting mode for emacs but I do not > track my TODOs with that and thus, I am totally dis-org-anized :D I am > also an eev-mode fan to do all sort of stuff. > > 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 -- Eric Schulte http://cs.unm.edu/~eschulte