From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: Re: How to use org mode shell with ssh? Date: Thu, 22 Sep 2016 15:00:50 +0100 Message-ID: <87lgykrq3x.fsf@yandex.com> References: <87eg4c8gfs.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn4WH-0003DL-PR for Emacs-orgmode@gnu.org; Thu, 22 Sep 2016 09:58:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn4WD-0004v3-L5 for Emacs-orgmode@gnu.org; Thu, 22 Sep 2016 09:58:32 -0400 Received: from forward3j.cmail.yandex.net ([5.255.227.21]:40735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn4WC-0004u8-BE for Emacs-orgmode@gnu.org; Thu, 22 Sep 2016 09:58:29 -0400 In-Reply-To: (Xi Shen's message of "Thu, 22 Sep 2016 12:37:38 +0000") 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: Xi Shen Cc: William Denton , "emacs-orgmode@gnu.org" On Thu, Sep 22 2016, Xi Shen wrote: > Instead of using ssh, I tried with scp. This time I got a different error. > > #+BEGIN_SRC shell :dir /scp:openwrt:/mnt/sda1 > ls -al > #+END_SRC > > The error, I think, is from the remote end. > > /bin/sh: /bin/zsh: not found > > Clearly, I am using zsh on my Windows, but my remote OpenWRT system only has ash installed. Is > there's way to specify the shell to use on the remote end? > I can't help you here. I've never used openwrt. All I can suggest is to search openwrt documentation or try with cgywin. Good luck.