Answer the question
In order to leave comments, you need to log in
How to transfer code via shh for execution on a remote machine?
There is a script. In a certain place of the sprit, it becomes necessary to connect to a remote machine, do all sorts of things there, and leave. However, the problem is that you need to send a piece of code, not 2-3 commands, and sending everything in one line is not an option. Running separate scripts via ssh on a remote machine is also not an option.
Perhaps there are some other options besides ssh? In general, help, please, to understand.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question