[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash source code block: problem after ssh commands
From: |
Ihor Radchenko |
Subject: |
Re: bash source code block: problem after ssh commands |
Date: |
Thu, 16 Nov 2023 09:32:20 +0000 |
Matt <matt@excalamus.com> writes:
> So, rather than start a comint and then ssh from there, it's possible to let
> Emacs start the subprocess, manage the ssh connection, and just read that.
> Emacs makes a buffer from a network stream by calling start-process` using
> `shell-file-name`. `org-babel-shell-initialize` closes around
> `shell-file-name` with whatever shell language is used. Therefore, we could
> provide header arguments to pass parameters and the destination to ssh.
Or we can make use of TRAMP as we usually do to access remote
environment. IMHO, it is more reliable as TRAMP takes care about
arranging all the Elisp FS interaction to work on remote system.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/11/06
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/06
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/11/07
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/08
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/11/09
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/09
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/15
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/15
- Re: bash source code block: problem after ssh commands,
Ihor Radchenko <=
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/16
- Re: bash source code block: problem after ssh commands, Alain . Cochard, 2023/11/16
- Re: bash source code block: problem after ssh commands, Matt, 2023/11/16
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/11/17
- Re: bash source code block: problem after ssh commands, Alain . Cochard, 2023/11/17
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/11/17
- Re: bash source code block: problem after ssh commands, Leo Butler, 2023/11/17
- Re: bash source code block: problem after ssh commands, Bruno Barbier, 2023/11/17
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/11/18
- Re: bash source code block: problem after ssh commands, Bruno Barbier, 2023/11/21