It is possible to run a local shell script on a remote SSH server without uploading anything. This can be done by using the -s flag and the < script.sh bit to read a local script file into standard input.
This will read the file entirely locally and send it to the remote server.
See more results on Neeva
Summaries from the best pages on the web
The -s flag makes it read from standard input, and the < script.sh bit will read a local script file into standard input.
The file is read entirely locally, and all gets sent to the remote server without uploading anything.
How to Run a Local Shell Script on a Remote SSH Server
Open package.json and add the following scripts : These scripts refer to the different stages of developing an application:
Getting Started | Next.js
On the server you should have something like: remoteEvent:FireClient(player) And on the client you should have something like. remoteEvent.OnClientEvent:Connect(yourfunction) You would replace “yourfunction” with the title of the function your…
Is there any way to execute local script from server script ...