Hi there,
First of all thank you so much for creating this library. This is awesome, really easy to use. We are able to use it with minimal efforts. Now we are stumbling upon a use case where we need to execute a script on the remote server which is present at local.
I saw the Bash script on the fly part https://www.npmjs.com/package/ssh2shell#bash-scripts-on-the-fly- and tried to read the file and create the command array on the go but wasn't able to. :(
Is there any way, we can directly copy the file to remote server or command array can take input of local shells script?
Please let me know if any further information is required.
Hi there,
First of all thank you so much for creating this library. This is awesome, really easy to use. We are able to use it with minimal efforts. Now we are stumbling upon a use case where we need to execute a script on the remote server which is present at local.
I saw the Bash script on the fly part https://www.npmjs.com/package/ssh2shell#bash-scripts-on-the-fly- and tried to read the file and create the command array on the go but wasn't able to. :(
Is there any way, we can directly copy the file to remote server or command array can take input of local shells script?
Please let me know if any further information is required.