From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to use org mode shell with ssh? Date: Thu, 22 Sep 2016 10:52:19 -0400 Message-ID: <874m58yokc.fsf@gmail.com> References: <87eg4c8gfs.fsf@yandex.com> <87lgykrq3x.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn5Mh-0000Tr-L5 for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 10:52:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn5Mb-0007cl-OH for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 10:52:42 -0400 Received: from [195.159.176.226] (port=34842 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn5Mb-0007aj-HR for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 10:52:37 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bn5MP-0002dF-5G for emacs-orgmode@gnu.org; Thu, 22 Sep 2016 16:52:25 +0200 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 Colin Baxter writes: >> #+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. > IIUC, openwrt is the name of the remote node - nothing to do with OpenWrt (except of course, that the remote node may be a router which has been flashed with OpenWrt, but that should make no difference to ssh/tramp). -- Nick