I'm writing documentation in a local file (on a Mac, if that makes any difference), and I want to include 10 .sh files from a separate linux server (as child documents, I would assume) into separate places on my local document.
---- BEGIN documentation.lyx
Here are the 10 bash scripts:
\lstinputlisting{ssh:192.168.1.110:/home/username/menu.sh}
\lstinputlisting{ssh:192.168.1.110:/home/username/script_01.sh}
...
\lstinputlisting{ssh:192.168.1.110:/home/username/script_09.sh}
---- END documentation.lyx
Ideally, when I generate my PDF document from Lyx, I can enter my credentials to retrieve the .sh scripts, and the PDF document appears with the .sh file contents.
I didn't see this capability in my stock version of Lyx, and I've searched for an add-on, but I am a pretty new Lyx user, so maybe I missed something obvious to other experienced Lyx users.
Thank you!