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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: