You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
Can anyone help me
I need to connect to a remote unix server using my node js app, and execute a shell script file present in the unix server. I am using ssh.execCommand to perform this operation.
However i was wondering is it similar to using spawn /Execfile which much safer than the exec() command.
Can someone suggest me how to use this in order to prevent command injection.
The text was updated successfully, but these errors were encountered:
Hi
Can anyone help me
I need to connect to a remote unix server using my node js app, and execute a shell script file present in the unix server. I am using ssh.execCommand to perform this operation.
However i was wondering is it similar to using spawn /Execfile which much safer than the exec() command.
Can someone suggest me how to use this in order to prevent command injection.
The text was updated successfully, but these errors were encountered: