From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Bjergaard Subject: Executing org shell blocks on remote machine over ssh Date: Mon, 17 Nov 2014 11:04:05 -0500 Message-ID: <874mtxx18q.fsf@duke.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqOmq-0005ax-9c for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 11:04:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqOmj-0007Pt-4R for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 11:04:20 -0500 Received: from smtp-gw-07.oit.duke.edu ([152.3.189.233]:62021 helo=mail-gw-07.oit.duke.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqOmj-0007Pf-0f for emacs-orgmode@gnu.org; Mon, 17 Nov 2014 11:04:13 -0500 Received: from mail-gw-07.oit.duke.edu (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id E606216CD6F_46A1C7BB for ; Mon, 17 Nov 2014 16:04:11 +0000 (GMT) Received: from EX-HUB-03.win.duke.edu (ex-hub-03.oit.duke.edu [10.136.241.16]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "exchange.oit.duke.edu", Issuer "InCommon Server CA" (verified OK)) by mail-gw-07.oit.duke.edu (Sophos Email Appliance) with ESMTPS id CB4CF16B073_46A1C7BF for ; Mon, 17 Nov 2014 16:04:11 +0000 (GMT) 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: emacs-orgmode@gnu.org Hi All, I'm sorry if this has been covered before, I've been searching for a while and haven't found anything. I use org mode as a lab notebook. I write org-src blocks to keep track of tasks I do at the command line, and then I copy paste them into the terminal. I would really like to hit "C-c C-c" on the source block and have it executed on the remote machine. I know that you can specify the remote machine according to [1], however the software I use requires a fairly complicated setup to get going. Ideally what I would have is my org-src blocks and another window with the ssh terminal open. Then hitting "C-c C-c" would execute the block over a shared ssh connection and I could see the results in the other window (quasi-interactively). Is that possible? Thanks for your time! Dave Footnotes: [1] http://home.fnal.gov/~neilsen/notebook/orgExamples/org-examples.html#sec-16