-
-
Notifications
You must be signed in to change notification settings - Fork 979
Can this library be used to stream data to an ssh command #416
Copy link
Copy link
Closed
Description
I've started working with this library and have successfully executed simple commands on my ssh server.
What I'd like to do, but haven't found a way yet, is to send information my program over an ssh connection that serves as the input to the command executing on the host.
For example, one could send a .tar file as the input to a tar extraction command running on the host. The Linux equivalent would be cat somefile.tar | ssh user@host tar xz -C /destination.
At this point, it doesn't look like any of your command execution allows input. Please correct me if I've missed something.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels