Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this library be used to stream data to an ssh command #416

Closed
Mark-Pfeifer opened this issue Apr 4, 2018 · 3 comments
Closed

Can this library be used to stream data to an ssh command #416

Mark-Pfeifer opened this issue Apr 4, 2018 · 3 comments

Comments

@Mark-Pfeifer
Copy link

Mark-Pfeifer commented Apr 4, 2018

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.

@WalkerNA
Copy link

WalkerNA commented Apr 6, 2018

I don'to believe so. The closest discussion was in PR #141 which has not been resolved. I have yet to find a proper solution for this as well.

@Mark-Pfeifer
Copy link
Author

Mark-Pfeifer commented Apr 6, 2018 via email

@Rob-Hague
Copy link
Collaborator

Added in #1293 (version 2024.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants