emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to use org mode shell with ssh?


From: David A. Gershman
Subject: Re: [O] How to use org mode shell with ssh?
Date: Thu, 22 Sep 2016 07:45:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

I'm not familiar with remote execution like this, but are you specifying zsh on the Windows side or is it somehow inherently being assumed for the remote?  A quick little hack to try may be to copy the zsh executable on Windows to ash and see if it fools the remote side.

On 09/22/2016 07:00 AM, Colin Baxter wrote:
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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]