emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Bjergaard <david.b@duke.edu>
To: emacs-orgmode@gnu.org
Subject: Executing org shell blocks on remote machine over ssh
Date: Mon, 17 Nov 2014 11:04:05 -0500	[thread overview]
Message-ID: <874mtxx18q.fsf@duke.edu> (raw)

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

             reply	other threads:[~2014-11-17 16:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 16:04 David Bjergaard [this message]
2014-11-17 22:50 ` Executing org shell blocks on remote machine over ssh Myles English
2014-11-18 15:55   ` Andreas Leha
2014-11-18 15:43 ` Brett Viren
2014-11-18 18:12   ` Ista Zahn
2014-11-18 18:23     ` David Bjergaard
2014-11-18 18:31       ` Ista Zahn
2014-11-18 19:03       ` Brett Viren
2014-11-18 19:52       ` Subhan Michael Tindall
2014-11-18 20:58     ` Brady Trainor
2014-11-18 22:01       ` Andreas Leha

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=874mtxx18q.fsf@duke.edu \
    --to=david.b@duke.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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