Server Side Actions with SSH streaming

I am looking to build a SSH plugin. However I cannot find documentation on limitation and workload calls it would create to have “streaming” data like ssh.

I would use npm; ssh2 in the dependencies.
I would not be sending the SSH data to the client except for possibly errors.

I have a few questions in regards to SSA
I found some forum post and read the documentation but it doesn’t provide detailed answers on this.

  • Is streaming possible with ssh2 lib?
  • Is it possible to interrupt a SSA workflow?
  • What would the workflow cost look like for streaming data?
  • How secure is transfering backend workflow data?
  • Can I securely keep files via backend without risk?