From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xi Shen Subject: Re: How to use org mode shell with ssh? Date: Thu, 22 Sep 2016 12:15:30 +0000 Message-ID: References: <87eg4c8gfs.fsf@yandex.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113c37bace882b053d179e5d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn2ul-0000ZI-9p for Emacs-orgmode@gnu.org; Thu, 22 Sep 2016 08:15:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn2uk-0006ur-5u for Emacs-orgmode@gnu.org; Thu, 22 Sep 2016 08:15:43 -0400 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:36110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn2uj-0006uf-VK for Emacs-orgmode@gnu.org; Thu, 22 Sep 2016 08:15:42 -0400 Received: by mail-oi0-x22b.google.com with SMTP id t83so94837458oie.3 for ; Thu, 22 Sep 2016 05:15:41 -0700 (PDT) In-Reply-To: <87eg4c8gfs.fsf@yandex.com> 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: Colin Baxter , William Denton Cc: "emacs-orgmode@gnu.org" --001a113c37bace882b053d179e5d Content-Type: text/plain; charset=UTF-8 Hi, I just tried with: #+BEGIN_SRC shell :dir /ssh:openwrt:/mnt/sda1 ls -al #+END_SRC But still got the same error. I wonder on which end threw me this error. Maybe it is because I am using Emacs on Windows, and some thing is missing? Or maybe it is because the remote system is OpenWRT which has limited function? On Thu, Sep 22, 2016 at 4:57 PM Colin Baxter wrote: > On Wed, Sep 21 2016, William Denton wrote: > > > On 22 September 2016, Xi Shen wrote: > > > >> #+BEGIN_SRC sh :dir /sshx:openwrt:/mnt/sda1 > >> ls -al > >> #+END_SRC > > > > Just use ssh, not sshx, and it should work. > > > > Bill > > In babel it is now (shell . t). The form (sh . t) is depreciated as from > org-mode version 8.2.10 at least. > > Best wishes. > -- Thanks, David S. --001a113c37bace882b053d179e5d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I just tried with:

#+BEGIN_SRC shell :dir /ssh:openwrt:/mnt/sda1
ls -a= l
#+END_SRC

But still got the same= error. I wonder on which end threw me this error. Maybe it is because I am= using Emacs on Windows, and some thing is missing? Or maybe it is because = the remote system is OpenWRT which has limited function?


On Thu, Sep 22, 201= 6 at 4:57 PM Colin Baxter <m43cap@y= andex.com> wrote:
On Wed, = Sep 21 2016, William Denton wrote:

> On 22 September 2016, Xi Shen wrote:
>
>> #+BEGIN_SRC sh :dir /sshx:openwrt:/mnt/sda1
>> ls -al
>> #+END_SRC
>
> Just use ssh, not sshx, and it should work.
>
> Bill

In babel it is now (shell . t). The form (sh . t) is depreciated as from org-mode version 8.2.10 at least.

Best wishes.
--


Thanks,
David S.

--001a113c37bace882b053d179e5d--