From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xi Shen Subject: How to use org mode shell with ssh? Date: Thu, 22 Sep 2016 01:02:26 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e2324b4bc85053d0e37b6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmsPm-0005nE-I8 for Emacs-orgmode@gnu.org; Wed, 21 Sep 2016 21:03:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmsPk-0008Rg-Nh for Emacs-orgmode@gnu.org; Wed, 21 Sep 2016 21:03:01 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:33454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmsPk-0008HG-HH for Emacs-orgmode@gnu.org; Wed, 21 Sep 2016 21:03:00 -0400 Received: by mail-oi0-x234.google.com with SMTP id r126so80779700oib.0 for ; Wed, 21 Sep 2016 18:02:38 -0700 (PDT) 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" To: "emacs-orgmode@gnu.org" --001a113e2324b4bc85053d0e37b6 Content-Type: text/plain; charset=UTF-8 Hi, I tried this block #+BEGIN_SRC sh :dir /sshx:openwrt:/mnt/sda1 ls -al #+END_SRC But I got byte-code: Method `sshx' should specify both encoding and decoding command or an scp program But I could not find a way to define the encoding/decoding command... -- Thanks, David S. --001a113e2324b4bc85053d0e37b6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I tried this block

#+BEGIN_SRC sh :dir /sshx:openwrt:/mnt/sda1
ls -al<= /div>
#+END_SRC

But I got

=
byte-code: Method `sshx' should specify both encoding and de= coding command or an scp program

But I could n= ot find a way to define the encoding/decoding command...
--


Thanks,
David S.

--001a113e2324b4bc85053d0e37b6--